20
typedef enum { ofp_none = 0,
21
ofp_iname, /* stringtab for service name */
22
ofp_exec, /* stringtab for program to exec */
23
ofp_parent, /* oplist for parent to exec post-fork */
24
ofp_iuser, /* stringtab for username */
26
ofp_setuid, /* user id */
27
ofp_supgid, /* supplementary groupid for initgroups */
28
ofp_setgid, /* primary group */
29
ofp_onexit, /* opstream to run when child exits */
41
opmeta_fixup_ptr *fixup;
53
struct opmeta *opmeta_make(int, rl_opcode_t, ...);
54
int opmetalist_add(struct opmetalist *, struct opmeta *);
55
struct opmetalist *opmetalist_merge(struct opmetalist *o, const struct opmetalist *p);
56
struct opmetalist *opmetalist_join(struct opmetalist *, struct opmetalist *);
57
void opmeta_fixup(struct opmeta *, int, opmeta_fixup_ptr);
58
struct opmetalist *opmetalist_new();
59
struct oplist *opmetalist_resolve(struct opmetalist *, const opmeta_fixup_ptr[]);
60
void opmetalist_free(struct opmetalist *);
62
#endif /* !H_ASSEMBLE */