source: azure_iot_hub/trunk/musl-1.1.18/src/passwd/nscd.h@ 389

Last change on this file since 389 was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 769 bytes
Line 
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
42FILE *__nscd_query(int32_t req, const char *key, int32_t *buf, size_t len, int *swap);
43
44#endif
Note: See TracBrowser for help on using the repository browser.