2 #include <libmemcached/memcached.h>
3 #include "client_options.h"
10 # include <sys/time.h>
17 /* For some odd reason the option struct on solaris defines the argument
18 * as char* and not const char*
20 #define OPTIONSTRING char*
22 #define OPTIONSTRING const char*
25 typedef struct memcached_programs_help_st memcached_programs_help_st
;
27 struct memcached_programs_help_st
32 char *strdup_cleanup(const char *str
);
34 long int timedif(struct timeval a
, struct timeval b
);
35 void version_command(const char *command_name
);
36 void help_command(const char *command_name
, const char *description
,
37 const struct option
*long_options
,
38 memcached_programs_help_st
*options
);
39 void process_hash_option(memcached_st
*memc
, char *opt_hash
);