Truxton file add note
Jump to navigation
Jump to search
This will add a note to the the file.
It will cause a record to be created in the [InvestigatorNote] table.
Syntax
int truxton_file_add_note( uint64_t file_handle, char const * text );
Parameters
file_handle
The handle created by the truxton_file_open_id or truxton_file_open_md5 call.
text
The contents of the note.
Return value
A non-zero value on success, zero on failure.
Sample
void process_file( uint64_t truxton )
{
uint64_t file = truxton_file_open_md5( truxton, "9ec8fb6095c35eff2b236863b7caaf10" );
truxton_file_add_note( file, "I processed this file." );
truxton_file_free( file );
}