Updated for help commands (and a little bit on ketama)
[awesomized/libmemcached] / src / utilities.h
1 #include <memcached.h>
2 #include <getopt.h>
3 #include "client_options.h"
4
5 typedef struct memcached_programs_help_st memcached_programs_help_st;
6
7 struct memcached_programs_help_st
8 {
9 char *not_used_yet;
10 };
11
12 char *strdup_cleanup(const char *str);
13 void cleanup(void);
14 long int timedif(struct timeval a, struct timeval b);
15 void version_command(char *command_name);
16 void help_command(char *command_name, char *description,
17 const struct option *long_options,
18 memcached_programs_help_st *options);