diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 09:48:26 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-02-02 09:48:26 +0000 |
commit | ce28a8ab09cdd49890261d37b5b9280131d18014 (patch) | |
tree | c8ba4212f852ffa7ae3aaf87b3a316612e2c401b /nscd/nscd-client.h | |
parent | a544f6724f8a668e4e2c4e47b5d8b87a47c67db7 (diff) |
Updated to fedora-glibc-20070202T0923cvs/fedora-glibc-2_5_90-16
Diffstat (limited to 'nscd/nscd-client.h')
-rw-r--r-- | nscd/nscd-client.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 7702f590bd..3c9688fd30 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -44,6 +44,9 @@ /* Path for the configuration file. */ #define _PATH_NSCDCONF "/etc/nscd.conf" +/* Maximu allowed length for the key. */ +#define MAXKEYLEN 1024 + /* Available services. */ typedef enum @@ -323,10 +326,10 @@ static inline int __nscd_drop_map_ref (struct mapped_database *map, /* Search the mapped database. */ -extern const struct datahead *__nscd_cache_search (request_type type, - const char *key, - size_t keylen, - const struct mapped_database *mapped); +extern struct datahead *__nscd_cache_search (request_type type, + const char *key, + size_t keylen, + const struct mapped_database *mapped); /* Wrappers around read, readv and write that only read/write less than LEN bytes on error or EOF. */ |