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 33a0f81b6d25c48763f6e2f0cd765cff6fba8461..16ce4beda0c2bbb28f45e83c12001f0463fe8e9c 100644
(file)
--- a/
clients/client_options.h
+++ b/
clients/client_options.h
@@
-1,14
+1,25
@@
-#ifndef __CLIENT_OPTIONS_H__
-#define __CLIENT_OPTIONS_H__
+/* LibMemcached
+ * Copyright (C) 2006-2009 Brian Aker
+ * All rights reserved.
+ *
+ * Use and distribution licensed under the BSD license. See
+ * the COPYING file in the parent directory for full text.
+ *
+ * Summary:
+ *
+ */
+
+#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_VERBOSE= 'v',
OPT_DEBUG= 'd',
OPT_SERVERS= 's',
OPT_VERSION= 'V',
OPT_HELP= 'h',
OPT_VERBOSE= 'v',
OPT_DEBUG= 'd',
+ OPT_ANALYZE= 'a',
OPT_FLAG= 257,
OPT_EXPIRE,
OPT_SET,
OPT_FLAG= 257,
OPT_EXPIRE,
OPT_SET,
@@
-23,6
+34,12
@@
typedef enum {
OPT_FLUSH,
OPT_HASH,
OPT_BINARY,
OPT_FLUSH,
OPT_HASH,
OPT_BINARY,
-} memcached_options;
-
-#endif /* CLIENT_OPTIONS */
+ OPT_UDP,
+ OPT_BUFFER,
+ OPT_USERNAME,
+ OPT_PASSWD,
+ OPT_STAT_ARGS,
+ OPT_SERVER_VERSION,
+ OPT_QUIET,
+ OPT_FILE= 'f'
+};