aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/util.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-03 06:55:55 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-03 06:55:55 +0200
commit000eea67ffd1f3250385a17a8aea8a8871e14210 (patch)
treeeb6feba9acfbbf987298468386acca1792cb8574 /src/libmdsserver/util.h
parentmds-clipboard: all actions except add, however there is not removal of old entries yet (diff)
downloadmds-000eea67ffd1f3250385a17a8aea8a8871e14210.tar.gz
mds-000eea67ffd1f3250385a17a8aea8a8871e14210.tar.bz2
mds-000eea67ffd1f3250385a17a8aea8a8871e14210.tar.xz
the rest of the clipboard
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libmdsserver/util.h b/src/libmdsserver/util.h
index 1b533bb..00dfb58 100644
--- a/src/libmdsserver/util.h
+++ b/src/libmdsserver/util.h
@@ -20,9 +20,18 @@
#include <stddef.h>
+#include <stdint.h>
/**
+ * Convert a client ID string into a client ID integer
+ *
+ * @param str The client ID string
+ * @return The client ID integer
+ */
+uint64_t parse_client_id(const char* str);
+
+/**
* Read an environment variable, but handle it as undefined if empty
*
* @param var The environment variable's name