aboutsummaryrefslogtreecommitdiff
path: root/src/oidtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/oidtab.c')
-rw-r--r--src/oidtab.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/oidtab.c b/src/oidtab.c
index c713a2b..09a0cde 100644
--- a/src/oidtab.c
+++ b/src/oidtab.c
@@ -73,6 +73,16 @@ oidtab_install(struct grecs_symtab *oidtab, struct slb_varinstance *vinst)
return grecs_symtab_lookup_or_install(oidtab, &key, &install) == NULL;
}
+int
+oidtab_delete(struct grecs_symtab *oidtab, struct slb_varinstance *vinst)
+{
+ struct slb_oidref key;
+ int install = 1;
+
+ key.inst = vinst;
+ return grecs_symtab_remove(oidtab, &key);
+}
+
static int
_create_ref(void *sym, void *data)
{

Return to:

Send suggestions and report system problems to the System administrator.