1 typedef struct Exec Exec;
2 typedef struct Rule Rule;
3 typedef struct Ruleset Ruleset;
25 VAdd, /* apply to OAttr only */
27 VDelete, /* apply to OAttr only */
41 char *arg; /* unparsed string of all arguments */
42 char *qarg; /* quote-processed arg string */
59 int p0; /* begin and end of match */
61 int clearclick; /* click was expanded; remove attribute */
62 int setdata; /* data should be set to $0 */
63 int holdforclient; /* exec'ing client; keep message until port is opened */
64 /* values of $variables */
69 void parseerror(char*, ...);
70 void error(char*, ...);
72 void* erealloc(void*, long);
74 Ruleset** readrules(char*, int);
76 Exec* matchruleset(Plumbmsg*, Ruleset*);
78 char* startup(Ruleset*, Exec*);
79 char* printrules(void);
81 char* writerules(char*, int);
82 char* expand(Exec*, char*, char**);
83 void makeports(Ruleset*[]);
84 void printinputstack(void);