X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Futilities.h;h=857f78039694409d8f64dd2dd84ad7e7842b82f8;hb=fbe2eb63dd53506cc3acc1507e5226e43d22a6d5;hp=7d442f23661c0a9627224c9735951f7db68c2335;hpb=ca065f55235fd9979ede818963780f417d70c64e;p=m6w6%2Flibmemcached diff --git a/src/utilities.h b/src/utilities.h index 7d442f23..857f7803 100644 --- a/src/utilities.h +++ b/src/utilities.h @@ -1,6 +1,18 @@ #include +#include +#include "client_options.h" + +typedef struct memcached_programs_help_st memcached_programs_help_st; + +struct memcached_programs_help_st +{ + char *not_used_yet; +}; -void parse_opt_servers (memcached_st *ptr, - char *opt_servers); 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);