Ignore *.exe
[awesomized/libmemcached] / clients / generator.h
1 /* LibMemcached
2 * Copyright (C) 2006-2009 Brian Aker
3 * All rights reserved.
4 *
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
7 *
8 * Summary:
9 *
10 */
11
12 /*
13 Code to generate data to be pushed into memcached
14 */
15
16 #ifndef __GENERATOR_H__
17 #define __GENERATOR_H__
18
19 typedef struct pairs_st pairs_st;
20
21 struct pairs_st {
22 char *key;
23 size_t key_length;
24 char *value;
25 size_t value_length;
26 };
27
28 pairs_st *pairs_generate(uint64_t number_of, size_t value_length);
29 void pairs_free(pairs_st *pairs);
30
31 #endif