blob: a89883b5a6a41f71ce71d6d5b3d8e7a8e168e8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef CONFIG_H
#define CONFIG_H
#include <Python.h>
#include "stringlist.h"
#include "message.h"
typedef struct BareConfig BareConfig;
BareConfig* bareConfigCreate(Message* m, FILE* outFd, FILE* inFd, FILE* errFd);
/*
* FIXME : could the Python lib work the same way ?
*/
const char* bareConfigGetDefaultValue(BareConfig* cfg, const char*);
const char* bareConfigGetOptionValue(BareConfig* cfg, const char* opt);
int bareConfigSetOptionValue(BareConfig* cfg, const char*, const char*);
PyObject* _bareConfigObject(BareConfig*);
void bareConfigFree(BareConfig*);
#endif
|