* nscd/nscd-client.h: Add a few #includes.
This commit is contained in:
Ulrich Drepper 2004-09-08 19:49:17 +00:00
parent 67a0b49db3
commit cf6f93d426
2 changed files with 10 additions and 4 deletions

View File

@ -1,6 +1,8 @@
2004-09-08 Ulrich Drepper <drepper@redhat.com> 2004-09-08 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
* nscd/nscd-client.h: Add a few #includes.
* nscd/Makefile (nscd-modules): Add nscd_setup_thread. * nscd/Makefile (nscd-modules): Add nscd_setup_thread.
* nscd/connections.c (nscd_run): Call setup_thread for maintenance * nscd/connections.c (nscd_run): Call setup_thread for maintenance
threads. threads.

View File

@ -23,9 +23,13 @@
#ifndef _NSCD_CLIENT_H #ifndef _NSCD_CLIENT_H
#define _NSCD_CLIENT_H 1 #define _NSCD_CLIENT_H 1
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <atomic.h> #include <atomic.h>
#include <nscd-types.h> #include <nscd-types.h>
/* Version number of the daemon interface */ /* Version number of the daemon interface */
#define NSCD_VERSION 2 #define NSCD_VERSION 2
@ -257,9 +261,9 @@ static inline int __nscd_drop_map_ref (struct mapped_database *map,
/* Search the mapped database. */ /* Search the mapped database. */
extern const struct datahead * __nscd_cache_search (request_type type, extern const struct datahead *__nscd_cache_search (request_type type,
const char *key, const char *key,
size_t keylen, size_t keylen,
const struct mapped_database *mapped); const struct mapped_database *mapped);
#endif /* nscd.h */ #endif /* nscd.h */