projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
libmemcached: fix #58 (connect errno)
[m6w6/libmemcached]
/
clients
/
client_options.h
diff --git
a/clients/client_options.h
b/clients/client_options.h
index 955bcd18ff8bb959e70d1a4b8bd32a0bca2d44b0..16ce4beda0c2bbb28f45e83c12001f0463fe8e9c 100644
(file)
--- a/
clients/client_options.h
+++ b/
clients/client_options.h
@@
-9,12
+9,11
@@
*
*/
*
*/
-#ifndef __CLIENT_OPTIONS_H__
-#define __CLIENT_OPTIONS_H__
+#pragma once
typedef struct memcached_help_text_st memcached_help_text_st;
typedef struct memcached_help_text_st memcached_help_text_st;
-
typedef enum
{
+
enum memcached_options
{
OPT_SERVERS= 's',
OPT_VERSION= 'V',
OPT_HELP= 'h',
OPT_SERVERS= 's',
OPT_VERSION= 'V',
OPT_HELP= 'h',
@@
-35,7
+34,12
@@
typedef enum {
OPT_FLUSH,
OPT_HASH,
OPT_BINARY,
OPT_FLUSH,
OPT_HASH,
OPT_BINARY,
- OPT_UDP
-} memcached_options;
-
-#endif /* CLIENT_OPTIONS */
+ OPT_UDP,
+ OPT_BUFFER,
+ OPT_USERNAME,
+ OPT_PASSWD,
+ OPT_STAT_ARGS,
+ OPT_SERVER_VERSION,
+ OPT_QUIET,
+ OPT_FILE= 'f'
+};