tried to reorder the program structure and build process
[NeonServV5.git] / src / HandleInfoHandler.h
diff --git a/src/HandleInfoHandler.h b/src/HandleInfoHandler.h
new file mode 100644 (file)
index 0000000..e51fe8d
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _HandleInfoHandler_h
+#define _HandleInfoHandler_h
+
+#include "main.h"
+
+struct ClientSocket;
+struct UserNode;
+
+#define AUTHLOOKUP_CALLBACK(NAME) void NAME(UNUSED_ARG(char *auth), UNUSED_ARG(int exists), UNUSED_ARG(void *data))
+typedef AUTHLOOKUP_CALLBACK(authlookup_callback_t);
+
+void lookup_authname(char *auth, authlookup_callback_t callback, void *data);
+void init_handleinfohandler();
+void free_handleinfohandler();
+
+#endif
\ No newline at end of file