Fix from Trond for deprecation
[m6w6/libmemcached] / clients / generator.h
1 /*
2 Code to generate data to be pushed into memcached
3 */
4
5 #ifndef __GENERATOR_H__
6 #define __GENERATOR_H__
7
8 typedef struct pairs_st pairs_st;
9
10 struct pairs_st {
11 char *key;
12 size_t key_length;
13 char *value;
14 size_t value_length;
15 };
16
17 pairs_st *pairs_generate(uint64_t number_of, size_t value_length);
18 void pairs_free(pairs_st *pairs);
19
20 #endif