From bb48c914c6239ed1dbcb29eb62d33d3ab91e7215 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Mon, 19 Jun 2006 12:25:06 +0000 Subject: initial import git-svn-id: http://svn.irssi.org/repos/irssi-python@4282 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- objects/irc-connect-object.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 objects/irc-connect-object.h (limited to 'objects/irc-connect-object.h') diff --git a/objects/irc-connect-object.h b/objects/irc-connect-object.h new file mode 100644 index 0000000..3f6cad4 --- /dev/null +++ b/objects/irc-connect-object.h @@ -0,0 +1,21 @@ +#ifndef _IRC_CONNECT_OBJECT_H_ +#define _IRC_CONNECT_OBJECT_H_ + +#include +#include "connect-object.h" + +/* forward */ +struct _IRC_SERVER_CONNECT_REC; + +typedef struct +{ + PyIrssi_HEAD(struct _IRC_SERVER_CONNECT_REC) +} PyIrcConnect; + +extern PyTypeObject PyIrcConnectType; + +int irc_connect_object_init(void); +PyObject *pyirc_connect_new(void *connect, int managed); +#define pyirc_connect_check(op) PyObject_TypeCheck(op, &PyIrcConnectType) + +#endif -- cgit