projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Files are generated with each run, no reason to save them.
[m6w6/libmemcached]
/
src
/
utilities.h
diff --git
a/src/utilities.h
b/src/utilities.h
index 7d442f23661c0a9627224c9735951f7db68c2335..b9ac7f1c66d771155695eb950802069c28745185 100644
(file)
--- a/
src/utilities.h
+++ b/
src/utilities.h
@@
-1,6
+1,18
@@
#include <memcached.h>
#include <memcached.h>
+#include <getopt.h>
-void parse_opt_servers (memcached_st *ptr,
- char *opt_servers);
+typedef struct memcached_programs_help_st memcached_programs_help_st;
+
+struct memcached_programs_help_st
+{
+ char *not_used_yet;
+};
+
+memcached_server_st *parse_opt_servers(char *server_strings);
char *strdup_cleanup(const char *str);
void cleanup(void);
char *strdup_cleanup(const char *str);
void cleanup(void);
+long int timedif(struct timeval a, struct timeval b);
+void version_command(char *command_name);
+void help_command(char *command_name, char *description,
+ const struct option *long_options,
+ memcached_programs_help_st *options);