The Sleuth Kit  4.11.1
hdb_base.c File Reference

"Base" functions for hash databases. More...

#include "tsk_hashdb_i.h"


uint8_t hdb_base_accepts_updates ()
uint8_t hdb_base_add_entry (TSK_HDB_INFO *hdb_info, const char *file_name, const char *md5, const char *sha1, const char *sha2_256, const char *comment)
uint8_t hdb_base_begin_transaction (TSK_HDB_INFO *hdb_info)
uint8_t hdb_base_commit_transaction (TSK_HDB_INFO *hdb_info)
void hdb_base_db_name_from_path (TSK_HDB_INFO *hdb_info)
 Sets hash database name in hdb_info based on database file path. More...
const TSK_TCHARhdb_base_get_db_path (TSK_HDB_INFO *hdb_info)
const char * hdb_base_get_display_name (TSK_HDB_INFO *hdb_info)
const TSK_TCHARhdb_base_get_index_path (TSK_HDB_INFO *hdb_info, TSK_HDB_HTYPE_ENUM htype)
uint8_t hdb_base_has_index (TSK_HDB_INFO *hdb_info, TSK_HDB_HTYPE_ENUM htype)
int8_t hdb_base_lookup_bin (TSK_HDB_INFO *hdb_info, uint8_t *hash, uint8_t hash_len, TSK_HDB_FLAG_ENUM flag, TSK_HDB_LOOKUP_FN callback, void *data)
int8_t hdb_base_lookup_str (TSK_HDB_INFO *hdb_info, const char *hash, TSK_HDB_FLAG_ENUM flag, TSK_HDB_LOOKUP_FN callback, void *data)
int8_t hdb_base_lookup_verbose_str (TSK_HDB_INFO *hdb_info, const char *hash, void *result)
uint8_t hdb_base_make_index (TSK_HDB_INFO *hdb_info, TSK_TCHAR *htype)
uint8_t hdb_base_open_index (TSK_HDB_INFO *hdb_info, TSK_HDB_HTYPE_ENUM htype)
uint8_t hdb_base_rollback_transaction (TSK_HDB_INFO *hdb_info)
uint8_t hdb_base_uses_external_indexes ()
void hdb_info_base_close (TSK_HDB_INFO *hdb_info)
 De-initializes struct representation of a hash database. More...
uint8_t hdb_info_base_open (TSK_HDB_INFO *hdb_info, const TSK_TCHAR *db_path)

Detailed Description

"Base" functions for hash databases.

Many are no-ops / stubs

Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.