summaryrefslogtreecommitdiffstats
path: root/uidmap.h
diff options
context:
space:
mode:
authorSimon Rettberg2018-11-14 14:37:31 +0100
committerSimon Rettberg2018-11-14 14:37:31 +0100
commit8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0 (patch)
treeb0267df71f0807319e7e80cf18a27dde1382cc90 /uidmap.h
parentStarted work on proxy-side uid generation/tracking (diff)
downloadldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.tar.gz
ldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.tar.xz
ldadp-8b8ed36516e9a40df6ac9ac46ab355fee0e5b5f0.zip
Support generating uidNumbers on proxy
Diffstat (limited to 'uidmap.h')
-rw-r--r--uidmap.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/uidmap.h b/uidmap.h
index a126e39..1145175 100644
--- a/uidmap.h
+++ b/uidmap.h
@@ -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