summaryrefslogtreecommitdiffstats
path: root/src/objects/dcc-chat-object.h
blob: 955e6beb325054aaa9995169ced9c57470caf69e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _DCC_CHAT_OBJECT_H_
#define _DCC_CHAT_OBJECT_H_

#include <Python.h>
#include "dcc-object.h"

/* forward */
struct CHAT_DCC_REC;

typedef struct
{
    PyDcc_HEAD(struct CHAT_DCC_REC)
} PyDccChat;

extern PyTypeObject PyDccChatType;

PyObject *pydcc_chat_new(void *dcc);
#define pydcc_chat_check(op) PyObject_TypeCheck(op, &PyDccChatType)
int dcc_chat_object_init(void);

#endif