~piotr-sikora/libmemcached/fix-tests-on-openbsd

« back to all changes in this revision

Viewing changes to clients/utilities.h

  • Committer: Brian Aker
  • Date: 2011-04-28 00:30:03 UTC
  • mfrom: (929.1.88 libmemcached-build2)
  • Revision ID: brian@tangent.org-20110428003003-bm1qzgmg9kaawp5d
Merge in code for C++ compiling of libmemcached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 *
10
10
 */
11
11
 
 
12
#pragma once
 
13
 
12
14
#include <getopt.h>
13
15
#include <libmemcached/memcached.h>
14
16
#include "libmemcached/watchpoint.h"
41
43
  char *not_used_yet;
42
44
};
43
45
 
 
46
#ifdef __cplusplus
 
47
extern "C" {
 
48
#endif
 
49
 
44
50
char *strdup_cleanup(const char *str);
45
51
void cleanup(void);
46
52
long int timedif(struct timeval a, struct timeval b);
52
58
bool initialize_sasl(memcached_st *memc, char *user, char *password);
53
59
void shutdown_sasl(void);
54
60
void initialize_sockets(void);
 
61
 
 
62
#ifdef __cplusplus
 
63
} // extern "C"
 
64
#endif