X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Futilities.h;h=b9ac7f1c66d771155695eb950802069c28745185;hb=8996c21d87b51d6bcc72efd93cbf83cc559498a5;hp=777c7765af2443fcc05bc5543b10606836072883;hpb=151506dd4b5da014f23438226ee286772a78dfd3;p=m6w6%2Flibmemcached diff --git a/src/utilities.h b/src/utilities.h index 777c7765..b9ac7f1c 100644 --- a/src/utilities.h +++ b/src/utilities.h @@ -1,7 +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);