Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: fusl/src/passwd/nscd.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/passwd/lckpwdf.c ('k') | fusl/src/passwd/nscd_query.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 #define GETINITGR 15
12
13 #define REQVERSION 0
14 #define REQTYPE 1
15 #define REQKEYLEN 2
16 #define REQ_LEN 3
17
18 #define PWVERSION 0
19 #define PWFOUND 1
20 #define PWNAMELEN 2
21 #define PWPASSWDLEN 3
22 #define PWUID 4
23 #define PWGID 5
24 #define PWGECOSLEN 6
25 #define PWDIRLEN 7
26 #define PWSHELLLEN 8
27 #define PW_LEN 9
28
29 #define GRVERSION 0
30 #define GRFOUND 1
31 #define GRNAMELEN 2
32 #define GRPASSWDLEN 3
33 #define GRGID 4
34 #define GRMEMCNT 5
35 #define GR_LEN 6
36
37 #define INITGRVERSION 0
38 #define INITGRFOUND 1
39 #define INITGRNGRPS 2
40 #define INITGR_LEN 3
41
42 FILE *__nscd_query(int32_t req, const char *key, int32_t *buf, size_t len, int * swap);
43
44 #endif
OLDNEW
« no previous file with comments | « fusl/src/passwd/lckpwdf.c ('k') | fusl/src/passwd/nscd_query.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698