fix windowisms: BOOL
[rofl0r-openbor.git] / source / stringptr.h
blob56c706ea8b4911616ed7a0ef24c79a2550c2089b
1 /*
2 * OpenBOR - http://www.LavaLit.com
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in OpenBOR root for details.
6 * Copyright (c) 2004 - 2011 OpenBOR Team
7 */
9 #ifndef _STRINGPTR_H_
10 #define _STRINGPTR_H_
12 #include <stdlib.h>
13 #include <string.h>
15 typedef struct {
16 char *ptr;
17 size_t size;
18 } stringptr;
20 stringptr *new_string(size_t size);
21 void free_string(stringptr * string);
23 #endif