summaryrefslogtreecommitdiffstats
path: root/src/internal.h
blob: 5d05d0961a141ac0b69c3ab9d2011a266e0d0c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef INTERNAL_H
#define INTERNAL_H

#include <Python.h>
#include "stringlist.h"
#include "dict.h"
#include "config.h"
#include "message.h"

PyObject*	executeFunction(const char *module, const char *funcName, const char* format, ...);

PyObject* 	_bareConfigObject(BareConfig*);

PyObject*	_messageObject(Message* m);

StringList*	listToCList(PyObject* list);
PyObject*	cListToPyList(StringList*);

PyObject*	dictToPyDict(Dict *dict);

#endif