diff options
Diffstat (limited to 'Modules/_librabbitmq/connection.h')
-rw-r--r-- | Modules/_librabbitmq/connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_librabbitmq/connection.h b/Modules/_librabbitmq/connection.h index da67b46..d4dc6c7 100644 --- a/Modules/_librabbitmq/connection.h +++ b/Modules/_librabbitmq/connection.h @@ -140,6 +140,7 @@ typedef struct { int sockfd; int connected; + PyObject *server_properties; PyObject *callbacks; /* {channel_id: {consumer_tag:callback}} */ PyObject *weakreflist; @@ -244,6 +245,8 @@ static PyMemberDef PyRabbitMQ_ConnectionType_members[] = { offsetof(PyRabbitMQ_Connection, port), READONLY, NULL}, {"heartbeat", T_INT, offsetof(PyRabbitMQ_Connection, heartbeat), READONLY, NULL}, + {"server_properties", T_OBJECT_EX, + offsetof(PyRabbitMQ_Connection, server_properties), READONLY, NULL}, {"connected", T_INT, offsetof(PyRabbitMQ_Connection, connected), READONLY, NULL}, {"channel_max", T_INT, |