summaryrefslogtreecommitdiffstats
path: root/src/message.h
blob: 33399f625444d760912eb1eccc8a3b72196c7920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MESSAGE_H
#define MESSAGE_H

#include <Python.h>
#include "stringlist.h"

typedef struct Message Message;

/*
 * arguments : module (String), stdout (fd), stderr (fd), stderr (fd), debug_level, debug_verbosity, info_level, warn_level, ?, ?, ?, ?
 */
Message*	messageCreate(const char*, FILE*, FILE*, FILE*, int, int, int, int, int, StringList*, StringList*, StringList*);
PyObject*	_messageObject(Message* m);
void		messageFree(Message *m);

#endif