src/server/daemon/auth.h

branch
config
changeset 254
4784c14aa639
parent 91
fac51f87def0
child 400
d814b29e8d96
--- a/src/server/daemon/auth.h	Sun Aug 23 22:02:01 2020 +0200
+++ b/src/server/daemon/auth.h	Sun Aug 23 23:04:17 2020 +0200
@@ -33,6 +33,8 @@
 #include <inttypes.h>
 #include "../public/auth.h"
 
+#include <ucx/map.h>
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -48,12 +50,12 @@
 
 typedef struct user_cache_elm UserCacheElm;
 struct user_cache_elm {
-    CachedUser   *user;
-    UserCacheElm *next_user; // next elm in the cached user list
-    UcxKey       key;        // key to access this element
-    size_t       slot;       // slot in the map
-    UserCacheElm *next_elm;  // next element in this map slot
-    time_t       created;
+    CachedUser       *user;
+    UserCacheElm     *next_user; // next elm in the cached user list
+    UcxKey           key;        // key to access this element
+    size_t           slot;       // slot in the map
+    UserCacheElm     *next_elm;  // next element in this map slot
+    time_t           created;
 };
 
 typedef struct {

mercurial