<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_jurisdiction_create</id>
	<title>Truxton jurisdiction create - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_jurisdiction_create"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_jurisdiction_create&amp;action=history"/>
	<updated>2026-09-09T16:09:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_jurisdiction_create&amp;diff=4611&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This creates a jurisdiction in Truxton. Jurisdictions can be used to track the amount of work you have performed for a particular group. This object corresponds to the &lt;code&gt;[...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_jurisdiction_create&amp;diff=4611&amp;oldid=prev"/>
		<updated>2021-02-18T19:21:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This creates a jurisdiction in Truxton. Jurisdictions can be used to track the amount of work you have performed for a particular group. This object corresponds to the &amp;lt;code&amp;gt;[...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This creates a jurisdiction in Truxton.&lt;br /&gt;
Jurisdictions can be used to track the amount of work you have performed for a particular group.&lt;br /&gt;
This object corresponds to the &amp;lt;code&amp;gt;[Jurisdiction]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
uint64_t truxton_jurisdiction_create( uint64_t truxton_handle );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;truxton_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
The Truxton instance this jurisdiction will belong.&lt;br /&gt;
This handle comes from calling &amp;lt;code&amp;gt;[[truxton_create]]()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Return value=&lt;br /&gt;
A handle to a jurisdiction object.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;5&amp;quot;&amp;gt;&lt;br /&gt;
void create_jurisdiction( void )&lt;br /&gt;
{&lt;br /&gt;
   uint64_t truxton = truxton_create();&lt;br /&gt;
&lt;br /&gt;
   uint64_t jurisdiction = truxton_jurisdiction_create( truxton );&lt;br /&gt;
&lt;br /&gt;
   truxton_jurisdiction_set_id( jurisdiction, 1234567 );&lt;br /&gt;
   truxton_jurisdiction_set_name( jurisdiction, &amp;quot;Rubicon&amp;quot; );&lt;br /&gt;
   truxton_jurisdiction_set_description( jurisdiction, &amp;quot;Will Travers is the POC&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
   if ( truxton_jurisdiction_save( jurisdiction ) == 0 )&lt;br /&gt;
   {&lt;br /&gt;
      printf( &amp;quot;Cannot save jurisdiction to the database.\n&amp;quot; );&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   truxton_jurisdiction_destroy( jurisdiction );&lt;br /&gt;
   truxton_destroy( truxton );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>