runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

uidgid.h (289B)


      1 #ifndef UIDGID_H
      2 #define UIDGID_H
      3 
      4 #include <sys/types.h>
      5 
      6 struct uidgid {
      7   uid_t uid;
      8   gid_t gid[61];
      9   int gids;
     10 };
     11 
     12 /* user */
     13 extern unsigned int uidgid_get(struct uidgid *, char *);
     14 
     15 /* [:]user[:group[:group]...] */
     16 extern unsigned int uidgids_get(struct uidgid *, char *);
     17 
     18 #endif