From 32f8b7419fbe26e2fa3296925be435a85d018bff Mon Sep 17 00:00:00 2001 From: thib Date: Sat, 20 May 2006 16:31:31 +0000 Subject: [PATCH] added get_user_uid_safe() and get_group_gid_safe() --- subs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.40.0