- they are part of API as registrar uses them
@@ -46,6 +46,7 @@
#include "../../ip_addr.h"
#include "../../socket_info.h"
#include "udomain.h" /* new_udomain, free_udomain */
+#include "usrloc.h"
#include "utime.h"
#include "ul_mod.h"
@@ -43,6 +43,7 @@
#include "../../lib/srdb1/db.h"
#include "ul_callback.h"
#include "urecord.h"
#include "ucontact.h"
@@ -45,6 +45,7 @@
#include "../../ut.h"
#include "../../lib/kcore/hash_func.h"
#include "ul_mod.h" /* usrloc module parameters */
@@ -43,11 +43,6 @@
*/
-#define NO_DB 0
-#define WRITE_THROUGH 1
-#define WRITE_BACK 2
-#define DB_ONLY 3
-
#define UL_TABLE_VERSION 1004
extern str user_col;
@@ -41,6 +41,7 @@
@@ -35,6 +35,12 @@
+/* storage modes */
+#define NO_DB 0
+#define WRITE_THROUGH 1
+#define WRITE_BACK 2
+#define DB_ONLY 3
+
/*! usrloc API export structure */
typedef struct usrloc_api {