/* $Id: uids.h,v 1.7.2.1 2004/04/20 07:57:54 alan Exp $ */
#ifndef CLPLUMBING_UIDS_H
#	define CLPLUMBING_UIDS_H
#include <sys/types.h>

/* Tell us who you want to be - or zero for nobody */
int drop_privs(uid_t uid, gid_t gid);

/* Return to original privileged state */
int return_to_orig_privs(void);

/* Drop down to (probably nobody) privileges again */
int return_to_dropped_privs(void);

/* Return TRUE if we have full privileges at the moment */
int cl_have_full_privs(void);
#endif
