Added MD5 hashing scheme. Refactored code to allow for more hashing types.
[awesomized/libmemcached] / src / client_options.h
index 6dd4313573d0012a875be531957b9d1b833e0e47..03eac3cc4cdcd991ce101161b10c179005ddff79 100644 (file)
@@ -1,12 +1,19 @@
 typedef enum {
-  OPT_SERVERS= 1,
-  OPT_VERSION,
-  OPT_HELP,
-  OPT_VERBOSE,
-  OPT_DEBUG,
-  OPT_FLAG,
+  OPT_SERVERS= 's',
+  OPT_VERSION= 'V',
+  OPT_HELP= 'h',
+  OPT_VERBOSE= 'v',
+  OPT_DEBUG= 'd',
+  OPT_FLAG= 257,
   OPT_EXPIRE,
   OPT_SET,
   OPT_REPLACE,
   OPT_ADD,
+  OPT_SLAP_EXECUTE_NUMBER,
+  OPT_SLAP_INITIAL_LOAD,
+  OPT_SLAP_TEST,
+  OPT_SLAP_CONCURRENCY,
+  OPT_SLAP_NON_BLOCK,
+  OPT_SLAP_TCP_NODELAY,
+  OPT_FLUSH,
 } memcached_options;