From: thib Date: Sat, 20 May 2006 16:31:31 +0000 (+0000) Subject: added get_user_uid_safe() and get_group_gid_safe() X-Git-Tag: ver3_0_2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32f8b7419fbe26e2fa3296925be435a85d018bff;p=fcron added get_user_uid_safe() and get_group_gid_safe() --- diff --git a/subs.h b/subs.h index 5354c48..500c3d5 100644 --- a/subs.h +++ b/subs.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: subs.h,v 1.9 2006-01-11 00:57:59 thib Exp $ */ + /* $Id: subs.h,v 1.10 2006-05-20 16:31:31 thib Exp $ */ #ifndef __SUBS_H__ #define __SUBS_H__ @@ -42,6 +42,8 @@ extern char *sendmail; /* end of global variables */ /* functions prototypes */ +extern uid_t get_user_uid_safe(char *username); +extern gid_t get_group_gid_safe(char *groupname); extern int remove_blanks(char *str); extern char *strdup2(const char *); extern int get_word(char **str);