summaryrefslogtreecommitdiffstats
path: root/server/util/btreemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/util/btreemap.h')
-rw-r--r--server/util/btreemap.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/util/btreemap.h b/server/util/btreemap.h
index 8452732f0..941e36e5b 100644
--- a/server/util/btreemap.h
+++ b/server/util/btreemap.h
@@ -1,4 +1,4 @@
-/*
+/*
SSSD
Service monitor
@@ -21,6 +21,13 @@
#ifndef BTREEMAP_H_
#define BTREEMAP_H_
+enum {
+ BTREEMAP_EMPTY = -2,
+ BTREEMAP_CREATE_LEFT,
+ BTREEMAP_FOUND,
+ BTREEMAP_CREATE_RIGHT
+};
+
typedef int (*btreemap_comparison_fn)(void *first, void *second);
struct btreemap;
int btreemap_search_key(struct btreemap *map, void *key, struct btreemap **node);