aboutsummaryrefslogtreecommitdiff
path: root/src/userdb.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2016-02-20 20:37:06 -0500
committerFranklin Wei <git@fwei.tk>2016-02-28 16:30:21 -0500
commit2c687e77cd9ae3fd01010d7b36c8d0082bb76315 (patch)
treeb8cd58cea075a3c94cb2f1417e6eaea27865b827 /src/userdb.h
parent02de31c48c021742c6245b711790f6d853866c36 (diff)
downloadnetcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.zip
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.gz
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.bz2
netcosm-2c687e77cd9ae3fd01010d7b36c8d0082bb76315.tar.xz
implements aliases and other assorted features/enhancements
Diffstat (limited to 'src/userdb.h')
-rw-r--r--src/userdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/userdb.h b/src/userdb.h
index d7eb120..52ade12 100644
--- a/src/userdb.h
+++ b/src/userdb.h
@@ -66,6 +66,8 @@ bool userdb_write(const char*);
/* *save should be set to NULL on the first run */
struct userdata_t *userdb_iterate(void **save);
+bool userdb_add_obj(const char *name, struct object_t *obj);
+
/*** child-only functions ***/
struct userdata_t *userdb_request_lookup(const char *name);
bool userdb_request_add(struct userdata_t *data);