~michael-gruz/+junk/geepro

« back to all changes in this revision

Viewing changes to src/storings.h

  • Committer: Michael Gruz
  • Date: 2013-10-28 11:50:54 UTC
  • Revision ID: michael-gruz@seznam.cz-20131028115054-fk8zz7uvejaxy5qd
r194

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define __STORINGS_H__
23
23
#include <stdio.h>
24
24
 
25
 
#ifdef __cplusplus
26
 
extern "C" {
27
 
#endif
28
 
 
29
25
typedef struct
30
26
{
31
27
    FILE *file;
40
36
extern int store_get(store_str *, const char *key, char **value); // alloc memory for value, have to free()
41
37
extern int store_set(store_str *, const char *key, const char *string_to_store);
42
38
 
43
 
#ifdef __cplusplus
44
 
}
45
 
#endif
46
 
 
47
39
#endif
48
40