Difference between revisions of "Truxton sensitive site list get id"
Jump to navigation
Jump to search
(Created page with "This retrieves the [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the list. =Syntax= <source lang="C"> void truxton_sensitive_site_list_get_id( uint64_...") |
|||
| Line 1: | Line 1: | ||
This retrieves the [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the list. | This retrieves the [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the list. | ||
| + | This corresponds to the <code>[ID]</code> column of the <code>[SensitiveSiteList]</code> table. | ||
=Syntax= | =Syntax= | ||
Latest revision as of 04:05, 26 May 2021
This retrieves the GUID of the list.
This corresponds to the [ID] column of the [SensitiveSiteList] table.
Syntax
void truxton_sensitive_site_list_get_id( uint64_t ssl_handle, char * destination_string, size_t max_size );
Parameters
ssl_handle
The handle to the sensitive site list.
This handle comes from calling truxton_sensitive_site_list_create().
destination_string
The string to be written to.
max_size
The maximum number of characters that can be written to destination_string.
Sample
void print_details( uint64_t ssl_handle )
{
char id[ 65 ];
char name[ 128 ];
char description[ 256 ];
truxton_sensitive_site_list_get_id( ssl_handle, id, sizeof( id ) );
truxton_sensitive_site_list_get_name( ssl_handle, name, sizeof( name ) );
truxton_sensitive_site_list_get_description( ssl_handle, description, sizeof( description ) );
printf( "%s - %s, %s\n", id, name, description );
}