Huge refactoring of directory structure.
[m6w6/libmemcached] / clients / utilities.h
1 #include <memcached.h>
2 #include <getopt.h>
3 #include <assert.h>
4 #include "client_options.h"
5 #include "libmemcached_config.h"
6
7 #if TIME_WITH_SYS_TIME
8 # include <sys/time.h>
9 # include <time.h>
10 #else
11 # if HAVE_SYS_TIME_H
12 # include <sys/time.h>
13 # else
14 # include <time.h>
15 # endif
16 #endif
17
18 typedef struct memcached_programs_help_st memcached_programs_help_st;
19
20 struct memcached_programs_help_st
21 {
22 char *not_used_yet;
23 };
24
25 char *strdup_cleanup(const char *str);
26 void cleanup(void);
27 long int timedif(struct timeval a, struct timeval b);
28 void version_command(char *command_name);
29 void help_command(char *command_name, char *description,
30 const struct option *long_options,
31 memcached_programs_help_st *options);
32 void process_hash_option(memcached_st *memc, char *opt_hash);