summaryrefslogtreecommitdiff
path: root/c/clientwrap.h
blob: b20ca914c4c67ae424e9eb0fb0a668b5fdfc3b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __clientwrap_h
#define __clientwrap_h

#include <Python.h>

struct Client;

/* ClientWrap is a PyObject */
typedef struct ClientWrap {
    PyObject_HEAD
    struct Client *client;
} ClientWrap;

void clientwrap_startup();
void clientwrap_shutdown();

PyObject *clientwrap_new(struct Client *client);

#endif