|
TinyMUSH 3.3
TinyMUSH Server
|
Table hashing routines. More...
#include "config.h"#include "constants.h"#include "typedefs.h"#include "macros.h"#include "externs.h"#include "prototypes.h"#include <stdbool.h>#include <ctype.h>#include <string.h>
Functions | |
| int | hashval (char *str, int hashmask) |
| int | get_hashmask (int *size) |
| void | hashinit (HASHTAB *htab, int size, int flags) |
| void | hashreset (HASHTAB *htab) |
| int * | hashfind_generic (HASHKEY key, HASHTAB *htab) |
| int | hashfindflags_generic (HASHKEY key, HASHTAB *htab) |
| CF_Result | hashadd_generic (HASHKEY key, int *hashdata, HASHTAB *htab, int flags) |
| void | hashdelete_generic (HASHKEY key, HASHTAB *htab) |
| void | hashdelall (int *old, HASHTAB *htab) |
| void | hashflush (HASHTAB *htab, int size) |
| int | hashrepl_generic (HASHKEY key, int *hashdata, HASHTAB *htab) |
| void | hashreplall (int *old, int *new, HASHTAB *htab) |
| char * | hashinfo (const char *tab_name, HASHTAB *htab) |
| int * | hash_firstentry (HASHTAB *htab) |
| int * | hash_nextentry (HASHTAB *htab) |
| HASHKEY | hash_firstkey_generic (HASHTAB *htab) |
| HASHKEY | hash_nextkey_generic (HASHTAB *htab) |
| void | hashresize (HASHTAB *htab, int min_size) |
| int | search_nametab (dbref player, NAMETAB *ntab, char *flagname) |
| NAMETAB * | find_nametab_ent (dbref player, NAMETAB *ntab, char *flagname) |
| NAMETAB * | find_nametab_ent_flag (dbref player, NAMETAB *ntab, int flag) |
| void | display_nametab (dbref player, NAMETAB *ntab, bool list_if_none, const char *format,...) |
| void | interp_nametab (dbref player, NAMETAB *ntab, int flagword, char *prefix, char *state, char *true_text, char *false_text, bool show_sep) |
| void | listset_nametab (dbref player, NAMETAB *ntab, int flagword, bool list_if_none, char *format,...) |
| int | cf_ntab_access (int *vp, char *str, long extra, dbref player, char *cmd) |
Table hashing routines.