diff options
author | Simon Rettberg | 2018-11-14 14:37:31 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-11-14 14:37:31 +0100 |
commit | 8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0 (patch) | |
tree | b0267df71f0807319e7e80cf18a27dde1382cc90 /uidmap.h | |
parent | Started work on proxy-side uid generation/tracking (diff) | |
download | ldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.tar.gz ldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.tar.xz ldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.zip |
Support generating uidNumbers on proxy
Diffstat (limited to 'uidmap.h')
-rw-r--r-- | uidmap.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,16 +1,17 @@ #ifndef _UIDMAP_H_ #define _UIDMAP_H_ +#include "types.h" #include <stdint.h> struct string; -uint32_t uidmap_getNumberForName(const struct string *name); +uint32_t uidmap_getNumberForName(struct uidmap *uidmap, const struct string *name); -const struct string *uidmap_getNameForNumber(const uint32_t number); +const struct string *uidmap_getNameForNumber(struct uidmap *uidmap, const struct string *number); -void uidmap_init(const char *fileName); +void uidmap_init(struct uidmap *uidmap); -void uidmap_cleanupSave(); +void uidmap_cleanupSave(struct uidmap *uidmap); #endif |