diff options
author | Simon Rettberg | 2018-11-09 15:36:21 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-11-09 15:36:21 +0100 |
commit | 33db97b72473124697170394efbc993870276c55 (patch) | |
tree | b1f27c1634c07652808af243f245da2809a6e4a3 /uidmap.h | |
parent | Move string functions to lstring.[hc] (diff) | |
download | ldadp-33db97b72473124697170394efbc993870276c55.tar.gz ldadp-33db97b72473124697170394efbc993870276c55.tar.xz ldadp-33db97b72473124697170394efbc993870276c55.zip |
Started work on proxy-side uid generation/tracking
Diffstat (limited to 'uidmap.h')
-rw-r--r-- | uidmap.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/uidmap.h b/uidmap.h new file mode 100644 index 0000000..a126e39 --- /dev/null +++ b/uidmap.h @@ -0,0 +1,16 @@ +#ifndef _UIDMAP_H_ +#define _UIDMAP_H_ + +#include <stdint.h> + +struct string; + +uint32_t uidmap_getNumberForName(const struct string *name); + +const struct string *uidmap_getNameForNumber(const uint32_t number); + +void uidmap_init(const char *fileName); + +void uidmap_cleanupSave(); + +#endif |