4-2: init.h定义的类
2016-04-14 18:33:51 0 举报
service/action/command/func
作者其他创作
大纲/内容
command
+ struct listnode clist;+ int line;+ const char *filename;+ int nargs;+ char *args[1];
listnode
+ struct listnode *next;+ struct listnode *prev;
service
+ struct listnode slist;+ const char *name;+ const char *classname;+ unsigned flags;+ pid_t pid;+ time_t time_started; time_t time_crashed; int nr_crashed; uid_t uid; gid_t gid; gid_t supp_gids[NR_SVC_SUPP_GIDS]; size_t nr_supp_gids; char *seclabel; struct socketinfo *sockets; struct svcenvinfo *envvars; struct action onrestart; int *keycodes; int nkeycodes; int keychord_id; int ioprio_class; int ioprio_pri; int nargs; char *args[1];
socketinfo
+ struct socketinfo *next;+ const char *name;+ const char *type;+ uid_t uid;+ gid_t gid;+ int perm;+ const char *socketcon;
svcenvinfo
+ struct svcenvinfo *next;+ const char *name;+ const char *value;
action
+ struct listnode alist;+ struct listnode qlist;+ struct listnode tlist;+ unsigned hash;+ const char *name;+ struct listnode commands;+ struct command *current;
0 条评论
下一页