projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Modifying behavior to bounce connection in the case of a bad value from
[m6w6/libmemcached]
/
src
/
client_options.h
diff --git
a/src/client_options.h
b/src/client_options.h
index 354b2736619c9b932541275dcc533dc8ca9dbb89..b7ba5a968c530bde344e5f4162a3878930f1ac43 100644
(file)
--- a/
src/client_options.h
+++ b/
src/client_options.h
@@
-1,8
+1,27
@@
+#ifndef __CLIENT_OPTIONS_H__
+#define __CLIENT_OPTIONS_H__
+
+typedef struct memcached_help_text_st memcached_help_text_st;
+
typedef enum {
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,
+ OPT_HASH,
} memcached_options;
} memcached_options;
+
+#endif /* CLIENT_OPTIONS */