X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fuid.h;h=87745147fc3c0a4bea82ba5652acf4bfbdca107c;hb=9f957894d9a60f32adc56edddf72fa767ded8219;hp=8eb27e71d66d18310d7610d182d56c3adcb03bfe;hpb=12ab04431c06d9f8107b3596c768bf50b156ba88;p=netatalk.git diff --git a/etc/afpd/uid.h b/etc/afpd/uid.h index 8eb27e71..87745147 100644 --- a/etc/afpd/uid.h +++ b/etc/afpd/uid.h @@ -1,31 +1,8 @@ /* - * $Id: uid.h,v 1.3 2001-06-27 14:53:16 rufustfirefly Exp $ * code: jeff@univrel.pr.uconn.edu */ #ifndef AFPD_UID_H #define AFPD_UID_H 1 -#ifdef FORCE_UIDGID - -/* have to make sure struct vol is defined */ -#include "volume.h" - -/* set up a structure for this */ -typedef struct uidgidset_t { - int uid; - int gid; -} uidgidset; - -/* functions to save and restore uid/gid pairs */ -extern void save_uidgid ( uidgidset ** ); -extern void restore_uidgid ( uidgidset ** ); -extern void set_uidgid ( const struct vol * ); - -/* internal functions to convert user and group names to ids */ -extern int user_to_uid ( char * ); -extern int group_to_gid ( char * ); - -#endif /* FORCE_UIDGID */ - #endif