chiark / gitweb /
[PATCH] add tests for LABEL rule with a device that has no bus.
[elogind.git] / klibc_fixups.h
1 #ifdef __KLIBC__
2
3 #ifndef KLIBC_FIXUPS_H
4 #define KLIBC_FIXUPS_H 
5
6
7 struct group {
8         char    *gr_name;       /* group name */
9         char    *gr_passwd;     /* group password */
10         gid_t   gr_gid;         /* group id */
11         char    **gr_mem;       /* group members */
12 };
13
14 static inline struct group *getgrnam(const char *name)
15 {
16         return NULL;
17 }
18
19
20 struct passwd {
21         char    *pw_name;       /* user name */
22         char    *pw_passwd;     /* user password */
23         uid_t   pw_uid;         /* user id */
24         gid_t   pw_gid;         /* group id */
25         char    *pw_gecos;      /* real name */
26         char    *pw_dir;        /* home directory */
27         char    *pw_shell;      /* shell program */
28 };
29
30 static inline struct passwd *getpwnam(const char *name)
31 {
32         return NULL;
33 }
34
35
36 #endif
37
38 #endif