gtcaca-sys 0.1.15

Raw FFI bindings to GTCaca, a libcaca-based terminal UI toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _GTCACA_INIPARSE_H_
#define _GTCACA_INIPARSE_H_

#include <stdio.h>

struct _ini_t {
  char **keyvals;
  size_t keyvals_size;
  int n_items;
};
typedef struct _ini_t ini_t;

ini_t *ini_parse_file(char *filename);
ini_t *ini_parse_buffer(char *buf, long size);
char *ini_get_value(ini_t *ini, char *key);
void ini_free(ini_t *ini);

#endif // _GTCACA_INIPARSE_H_