<?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_sensitive_site_list_add</id>
	<title>Truxton sensitive site list add - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_sensitive_site_list_add"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_sensitive_site_list_add&amp;action=history"/>
	<updated>2026-09-09T18:29:42Z</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_sensitive_site_list_add&amp;diff=4998&amp;oldid=prev</id>
		<title>Sam at 19:04, 25 May 2021</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_sensitive_site_list_add&amp;diff=4998&amp;oldid=prev"/>
		<updated>2021-05-25T19:04:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:04, 25 May 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The string representation of a [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID.]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The string representation of a [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID.]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Every site should have a unique identifier.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If this value is an empty string or &amp;lt;code&amp;gt;NULL&amp;lt;/code&amp;gt;, a random identifier will be generated for you.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Return value=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Return value=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot; &gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Sample=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Sample=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;12&lt;/del&gt;,&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;13&lt;/del&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;13&lt;/ins&gt;,&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;14&lt;/ins&gt;&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;void create_list( uint64_t truxton )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;void create_list( uint64_t truxton )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_sensitive_site_list_add&amp;diff=4997&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This makes an entry in the list. It creates a record in the &lt;code&gt;[SensitiveSite]&lt;/code&gt; table.  =Syntax= &lt;source lang=&quot;C&quot;&gt; int truxton_sensitive_site_list_add( uint64_t ssl_h...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_sensitive_site_list_add&amp;diff=4997&amp;oldid=prev"/>
		<updated>2021-05-25T19:02:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This makes an entry in the list. It creates a record in the &amp;lt;code&amp;gt;[SensitiveSite]&amp;lt;/code&amp;gt; table.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; int truxton_sensitive_site_list_add( uint64_t ssl_h...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This makes an entry in the list.&lt;br /&gt;
It creates a record in the &amp;lt;code&amp;gt;[SensitiveSite]&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;
int truxton_sensitive_site_list_add( uint64_t ssl_handle, double latitude, double longitude, double distance_in_meters, char const* name, char const* id);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;ssl_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
The handle to the list object.&lt;br /&gt;
This handle comes from calling &amp;lt;code&amp;gt;[[truxton_sensitive_site_list_create]]()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;latitude&amp;lt;/code&amp;gt;==&lt;br /&gt;
The [https://en.wikipedia.org/wiki/Latitude latitude] in [https://en.wikipedia.org/wiki/Decimal_degrees decimal degrees] using the [https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84 WGS84] ellipsoid.&lt;br /&gt;
It corresponds to the &amp;lt;code&amp;gt;[Latitude]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[SensitiveSite]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;longitude&amp;lt;/code&amp;gt;==&lt;br /&gt;
The [https://en.wikipedia.org/wiki/Longitude longitude] in [https://en.wikipedia.org/wiki/Decimal_degrees decimal degrees] using the [https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84 WGS84] ellipsoid.&lt;br /&gt;
It corresponds to the &amp;lt;code&amp;gt;[Longitude]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[SensitiveSite]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;distance_in_meters&amp;lt;/code&amp;gt;==&lt;br /&gt;
The distance in meters of the zone that should not be entered.&lt;br /&gt;
It corresponds to the &amp;lt;code&amp;gt;[Distance]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[SensitiveSite]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;==&lt;br /&gt;
The name of the location.&lt;br /&gt;
It corresponds to the &amp;lt;code&amp;gt;[Name]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[SensitiveSite]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;==&lt;br /&gt;
The string representation of a [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID.]&lt;br /&gt;
&lt;br /&gt;
=Return value=&lt;br /&gt;
A non-zero value on success, zero on failure.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;12,13&amp;quot;&amp;gt;&lt;br /&gt;
void create_list( uint64_t truxton )&lt;br /&gt;
{&lt;br /&gt;
   uint64_t ssl = truxton_sensitive_site_list_create( truxton );&lt;br /&gt;
&lt;br /&gt;
   truxton_sensitive_site_list_set_id( ssl, &amp;quot;ED1E0F5E-1AD0-7A14-A053-04D8DB47BC4C&amp;quot; );&lt;br /&gt;
   truxton_sensitive_site_list_set_name( ssl, &amp;quot;A couple of places&amp;quot; );&lt;br /&gt;
   truxton_sensitive_site_list_set_description( ssl, &amp;quot;My list of places&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
   // Commit the data to the database&lt;br /&gt;
   truxton_sensitive_site_list_save( ssl );&lt;br /&gt;
&lt;br /&gt;
   // Now add some sites to our list&lt;br /&gt;
   truxton_sensitive_site_list_add( ssl, 39.136001, -77.701114, 100, &amp;quot;Lothar's&amp;quot;, NULL );&lt;br /&gt;
   truxton_sensitive_site_list_add( ssl, 28.421, -81.57985, 100, &amp;quot;Illegal Fishing HQ&amp;quot;, &amp;quot;22222222-0000-0000-0000-000000000000&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
   truxton_sensitive_site_list_destroy( ssl );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>