]> git.ipfire.org Git - thirdparty/systemd.git/blame - klibc_fixups.h
[PATCH] add support for a main udev config file, udev.conf.
[thirdparty/systemd.git] / klibc_fixups.h
CommitLineData
2023350e
GKH
1#ifdef __KLIBC__
2
3#ifndef KLIBC_FIXUPS_H
4#define KLIBC_FIXUPS_H
5
6
2023350e
GKH
7struct 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
14static inline struct group *getgrnam(const char *name)
15{
16 return NULL;
17}
18
19
20struct 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
30static inline struct passwd *getpwnam(const char *name)
31{
32 return NULL;
33}
34
35
36#endif
37
38#endif