Annotation of suX/inc/defs.h, revision 1.2.4.2

1.1       misho       1: /*************************************************************************
                      2:  * (C) 2011 AITNET - Sofia/Bulgaria - <office@aitbg.com>
                      3:  *  by Michael Pounov <misho@aitbg.com>
                      4:  *
                      5:  * $Author: misho $
1.2.4.2 ! misho       6:  * $Id: defs.h,v 1.2.4.1 2013/04/09 08:17:40 misho Exp $
1.1       misho       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"
1.2       misho      17: #define DEFAULT_LOG    "/var/log/suX.log"
1.1       misho      18: 
                     19: #ifndef PACKAGE_NAME
                     20: #define PACKAGE_NAME   "suX"
                     21: #endif
                     22: 
                     23: 
                     24: struct tagProc {
1.2.4.2 ! misho      25:        ait_val_t       proc_uid;
        !            26:        ait_val_t       proc_gid;
        !            27:        ait_val_t       proc_prio;
1.2.4.1   misho      28:        ait_val_t       proc_class;
                     29:        ait_val_t       proc_dir;
                     30:        ait_val_t       proc_name;
                     31:        ait_val_t       proc_cmd;
1.1       misho      32: };
                     33: 
                     34: 
                     35: extern char **environ;
1.2.4.1   misho      36: extern cfg_root_t cfg;
1.1       misho      37: extern int Verbose;
                     38: extern struct tagProc proc;
1.2       misho      39: extern FILE *lf;
1.1       misho      40: 
                     41: 
                     42: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>