<?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_get_database_connection_string</id>
	<title>Truxton get database connection string - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_get_database_connection_string"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_get_database_connection_string&amp;action=history"/>
	<updated>2026-09-09T21:09:34Z</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_get_database_connection_string&amp;diff=5289&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;Retrieves the connection string for the Truxton database.  =Syntax= &lt;source lang=&quot;C&quot;&gt; void truxton_get_database_connection_string( uint64_t truxton_handle, char * destination_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_get_database_connection_string&amp;diff=5289&amp;oldid=prev"/>
		<updated>2021-10-25T15:09:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Retrieves the connection string for the Truxton database.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; void truxton_get_database_connection_string( uint64_t truxton_handle, char * destination_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Retrieves the connection string for the Truxton database.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
void truxton_get_database_connection_string( uint64_t truxton_handle, char * destination_string, size_t max_size );&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 handle created by the [[truxton_create]] call.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;destination_string&amp;lt;/code&amp;gt;==&lt;br /&gt;
The string to be written to.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;max_size&amp;lt;/code&amp;gt;==&lt;br /&gt;
The maximum number of characters that can be written to &amp;lt;code&amp;gt;destination_string&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Remarks=&lt;br /&gt;
Use this API if you want to query the Truxton database directly.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;9&amp;quot;&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
    char connection_string[256];&lt;br /&gt;
&lt;br /&gt;
    truxton_start();&lt;br /&gt;
&lt;br /&gt;
    uint64_t truxton = truxton_create();&lt;br /&gt;
&lt;br /&gt;
    truxton_get_database_connection_string( truxton, connection_string, sizeof(connection_string) );&lt;br /&gt;
&lt;br /&gt;
    printf( &amp;quot;%s\n&amp;quot;, connection_string);&lt;br /&gt;
&lt;br /&gt;
    truxton_destroy( truxton );&lt;br /&gt;
&lt;br /&gt;
    truxton_stop();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>