Annotation of suX/inc/defs.h, revision 1.1.1.1
1.1 misho 1: /*************************************************************************
2: * (C) 2011 AITNET - Sofia/Bulgaria - <office@aitbg.com>
3: * by Michael Pounov <misho@aitbg.com>
4: *
5: * $Author: misho $
6: * $Id: global.h,v 1.1.1.1 2009/04/22 22:38:22 misho Exp $
7: *
8: *************************************************************************/
9: #ifndef __DEFS_H
10: #define __DEFS_H
11:
12:
13: #define STRSIZ 256
14:
15: #define DEFAULT_CONFIG "/etc/suX.conf"
16: #define DEFAULT_CMD "!/bin/sh -c"
17:
18: #ifndef PACKAGE_NAME
19: #define PACKAGE_NAME "suX"
20: #endif
21:
22:
23: struct tagProc {
24: short proc_uid;
25: short proc_gid;
26: int proc_prio;
27: char proc_class[STRSIZ];
28: char proc_dir[MAXPATHLEN];
29: char proc_name[MAXPATHLEN];
30: char proc_cmd[MAXPATHLEN];
31: };
32:
33:
34: extern char **environ;
35: extern sl_config cfg;
36: extern int Verbose;
37: extern struct tagProc proc;
38:
39:
40: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>