Ticket #2 (new Bug)

Opened 3 months ago

implement hooks

Reported by: jbrindle Assigned to: jbrindle
Priority: High Milestone:
Component: compiler Version:
Keywords: Cc:

Description

Use trunk-pms as a reference to implement the hooks:

extern int seps_symbol_add(int sym_type, char *type, void *h); extern int seps_type_add_attrib(char *type, char *attrib, void *h); extern int seps_attrib_addto_type(char *attrib, char *type, void *h); extern int seps_role_allow_add(char *role, char *new_role, void *h); extern int seps_role_type_add(char *role, char *type, void *h); extern int seps_role_trans_add(char *role, char *type, char *new_role,

void *h);

extern int seps_avrule_add(int type, char *src, char *tgt, char *class,

char **perms, int num_perms, void *h);

extern int seps_terule_add(int type, char *src, char *tgt, char *class,

char *def, void *h);