Truxton sensitive site list get name

From truxwiki.com
Revision as of 04:05, 26 May 2021 by Sam (talk | contribs) (Created page with "This retrieves the [https://en.wikipedia.org/wiki/Universally_unique_identifier GUID] of the list. This corresponds to the <code>[Name]</code> column of the <code>[SensitiveSi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This retrieves the GUID of the list. This corresponds to the [Name] column of the [SensitiveSiteList] table.

Syntax

void truxton_sensitive_site_list_get_name( 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 );
}