Truxton sensitive site list get name

From truxwiki.com
Jump to navigation Jump to search

This retrieves the name 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 );
}