X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Futilities.h;h=b9ac7f1c66d771155695eb950802069c28745185;hb=270d30a47b3fb769336f8dfaeb04afb42d8c2e8c;hp=7d442f23661c0a9627224c9735951f7db68c2335;hpb=ca065f55235fd9979ede818963780f417d70c64e;p=m6w6%2Flibmemcached diff --git a/src/utilities.h b/src/utilities.h index 7d442f23..b9ac7f1c 100644 --- a/src/utilities.h +++ b/src/utilities.h @@ -1,6 +1,18 @@ #include +#include -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); +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);