Truxton sensitive site list open id

From truxwiki.com
Jump to navigation Jump to search

This retrieves a sensitive site list from Truxton by its GUID.

Syntax

uint64_t truxton_sensitive_site_list_open_id( uint64_t truxton_handle, char const * guid_string );

Parameters

truxton_handle

The Truxton instance this list exists in. This handle comes from calling truxton_create().

guid_string

The string representation of the identifier of the list to get in Truxton. This corresponds to the [ID] column of the [SensitiveSiteList] table.

Return value

A handle to a sensitive site list object.

Sample

void destroy_my_list( uint64_t truxton )
{
   uint64_t ssl = truxton_sensitive_site_list_open_id( truxton, "ED1E0F5E-1AD0-7A14-A053-04D8DB47BC4C" );

   truxton_sensitive_site_list_delete( ssl );
   truxton_sensitive_site_list_destroy( ssl );
}