29 #include <stdio.h> |
29 #include <stdio.h> |
30 #include <stdlib.h> |
30 #include <stdlib.h> |
31 #include <string.h> |
31 #include <string.h> |
32 #include <pthread.h> |
32 #include <pthread.h> |
33 |
33 |
34 #include "../ucx/map.h" |
34 #include <ucx/map.h> |
|
35 |
35 #include "../util/atomic.h" |
36 #include "../util/atomic.h" |
36 #include "auth.h" |
37 #include "auth.h" |
37 |
38 |
38 static pthread_mutex_t auth_cache_mutex = PTHREAD_MUTEX_INITIALIZER; |
39 static pthread_mutex_t auth_cache_mutex = PTHREAD_MUTEX_INITIALIZER; |
39 static UserCache cache; |
40 static UserCache cache; |