aboutsummaryrefslogtreecommitdiff
path: root/src/slb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/slb.h')
-rw-r--r--src/slb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/slb.h b/src/slb.h
index b4f49fb..a2739fb 100644
--- a/src/slb.h
+++ b/src/slb.h
@@ -235,6 +235,7 @@ int varinst_allset(struct grecs_symtab *vit);
struct grecs_symtab *create_oidtab(struct grecs_symtab *vit);
int oidtab_install(struct grecs_symtab *oidtab, struct slb_varinstance *vinst);
+int oidtab_delete(struct grecs_symtab *oidtab, struct slb_varinstance *vinst);
struct slb_varinstance *oidtab_lookup(struct grecs_symtab *oidtab,
oid *name, size_t name_length);
@@ -313,6 +314,7 @@ char *slb_format_oid_value(oid *oid, size_t len, struct variable_list *vp,
#define SLB_ASSERT_NEG 0x01
#define SLB_ASSERT_ICASE 0x02
+#define SLB_ASSERT_PREV 0x04
/* Opcodes */
#define SLB_ASSERT_EQ 1
@@ -323,11 +325,17 @@ char *slb_format_oid_value(oid *oid, size_t len, struct variable_list *vp,
#define SLB_ASSERT_LT 6
#define SLB_ASSERT_LE 7
+/* Actions */
+#define SLB_ASSERT_ABORT 0
+#define SLB_ASSERT_WARN 1
+#define SLB_ASSERT_REINIT 2
+
struct slb_assertion {
oid name[MAX_OID_LEN];
size_t length;
int opcode;
int flags;
+ int action;
char *value;
size_t vallen;
char *text;

Return to:

Send suggestions and report system problems to the System administrator.