Use PyArg_ParseTuple correctly, fixing the timeout in send_message_with_reply and...
[dbus-python-phuang.git] / _dbus_bindings / message-internal.h
blobb31530faf0bd80d7f735b596381c4349044f944e
1 /* D-Bus message: implementation internals
3 * Copyright (C) 2006 Collabora Ltd.
5 * Licensed under the Academic Free License version 2.1
7 * This library is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2.1 of the License, or
10 * (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include <Python.h>
25 #include "dbus_bindings-internal.h"
27 #ifndef DBUS_BINDINGS_MESSAGE_INTERNAL_H
28 #define DBUS_BINDINGS_MESSAGE_INTERNAL_H
30 typedef struct {
31 PyObject_HEAD
32 DBusMessage *msg;
33 } Message;
35 extern char dbus_py_Message_append__doc__[];
36 extern PyObject *dbus_py_Message_append(Message *, PyObject *, PyObject *);
37 extern char dbus_py_Message_guess_signature__doc__[];
38 extern PyObject *dbus_py_Message_guess_signature(PyObject *, PyObject *);
39 extern char dbus_py_Message_get_args_list__doc__[];
40 extern PyObject *dbus_py_Message_get_args_list(Message *,
41 PyObject *,
42 PyObject *);
44 extern PyObject *DBusPy_RaiseUnusableMessage(void);
46 #endif