You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffdb/hash_index.h

15 lines
539 B
C

#pragma once
#include <stdbool.h>
// TODO: change value to char*
bool hash_index_set( const char* index, const char* key, int value );
bool hash_index_get( const char* index, const char* key, int* value );
bool hash_index_remove( const char* index, const char* key );
bool ffdb_hash_set( const char* index, const char* key, const char* value );
char* ffdb_hash_get( const char* index, const char* key );
bool ffdb_hash_remove( const char* index, const char* key );
char* ffdb_hash_get_key( const char* index, int slot, int offset );