projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
support alternate backends for the passwd and group dbs
[musl]
/
src
/
passwd
/
nscd.h
1
#ifndef NSCD_H
2
#define NSCD_H
3
4
#include <stdint.h>
5
6
#define NSCDVERSION 2
7
#define GETPWBYNAME 0
8
#define GETPWBYUID 1
9
#define GETGRBYNAME 2
10
#define GETGRBYGID 3
11
12
#define REQVERSION 0
13
#define REQTYPE 1
14
#define REQKEYLEN 2
15
#define REQ_LEN 3
16
17
#define PWVERSION 0
18
#define PWFOUND 1
19
#define PWNAMELEN 2
20
#define PWPASSWDLEN 3
21
#define PWUID 4
22
#define PWGID 5
23
#define PWGECOSLEN 6
24
#define PWDIRLEN 7
25
#define PWSHELLLEN 8
26
#define PW_LEN 9
27
28
#define GRVERSION 0
29
#define GRFOUND 1
30
#define GRNAMELEN 2
31
#define GRPASSWDLEN 3
32
#define GRGID 4
33
#define GRMEMCNT 5
34
#define GR_LEN 6
35
36
FILE *__nscd_query(int32_t req, const char *key, int32_t *buf, size_t len, int *swap);
37
38
#endif