+/* creates new option_t* of type DT_USER for $user_ var */
+static struct option_t* add_user_option (const char* name) {
+ struct option_t* option = mem_calloc (1, sizeof (struct option_t));
+ option->option = str_dup (name);
+ option->type = DT_USER;
+ return (option);
+}
+
+/* free()'s option_t* */
+static void del_user_option (void* p) {
+ struct option_t* ptr = (struct option_t*) p;
+ char* s = (char*) ptr->data;
+ debug_print (1, ("removing option '%s' from table\n", NONULL (ptr->option)));
+ mem_free (&ptr->option);
+ mem_free (&s);
+ mem_free (&ptr->init);
+ mem_free (&ptr);
+}
+