26 lines
589 B
C
26 lines
589 B
C
/*
|
|
* <grp.h> stub for the MontaukOS git port.
|
|
*
|
|
* Included by git-compat-util.h for the group lookups in daemon.c and
|
|
* setup.c's shared-repository handling. MontaukOS has no group database, so
|
|
* every lookup fails and git falls back to its "no group" paths.
|
|
*
|
|
* Implementation in montauk-compat.c.
|
|
*/
|
|
#ifndef _MONTAUK_GIT_GRP_H_
|
|
#define _MONTAUK_GIT_GRP_H_
|
|
|
|
#include <sys/types.h>
|
|
|
|
struct group {
|
|
char *gr_name;
|
|
char *gr_passwd;
|
|
gid_t gr_gid;
|
|
char **gr_mem;
|
|
};
|
|
|
|
struct group *getgrnam(const char *name);
|
|
struct group *getgrgid(gid_t gid);
|
|
|
|
#endif /* _MONTAUK_GIT_GRP_H_ */
|