+#include <pthread.h>
+
+#include "common.h"
+#include "../../../users.h"
+
+uint32_t n2l(unsigned char * c)
+{
+ uint32_t t = *c++ << 24;
+ t += *c++ << 16;
+ t += *c++ << 8;
+ t += *c;
+ return t;
+}
+
+void l2n(uint32_t t, unsigned char * c)
+{
+ *c++ = t >> 24 & 0x000000FF;
+ *c++ = t >> 16 & 0x000000FF;
+ *c++ = t >> 8 & 0x000000FF;
+ *c++ = t & 0x000000FF;
+}
+
+typedef std::map<std::string, std::string> PV_LIST;