diff options
| author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2006-12-11 21:45:29 +0000 |
|---|---|---|
| committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2006-12-11 21:45:29 +0000 |
| commit | 830f94f31010d4783490217d4b02f6f87927ae4c (patch) | |
| tree | 864d939a308e7e27ef4f08fd702850ee00611897 /_dbus_bindings/message-internal.h | |
| parent | 8ab339978d34b8c14dcf53aa6fbf228efb9130c6 (diff) | |
| download | dbus-python-830f94f31010d4783490217d4b02f6f87927ae4c.tar.gz | |
Convert generic glue, main loop integration, message append/get_args, validation into separate translation units - no *-impl.h remaining
Diffstat (limited to '_dbus_bindings/message-internal.h')
| -rw-r--r-- | _dbus_bindings/message-internal.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/_dbus_bindings/message-internal.h b/_dbus_bindings/message-internal.h new file mode 100644 index 0000000..202587c --- /dev/null +++ b/_dbus_bindings/message-internal.h @@ -0,0 +1,48 @@ +/* D-Bus message: implementation internals + * + * Copyright (C) 2006 Collabora Ltd. + * + * Licensed under the Academic Free License version 2.1 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ + +#include <Python.h> + +#include "dbus_bindings-internal.h" + +#ifndef DBUS_BINDINGS_MESSAGE_INTERNAL_H +#define DBUS_BINDINGS_MESSAGE_INTERNAL_H + +typedef struct { + PyObject_HEAD + DBusMessage *msg; +} Message; + +extern char dbus_py_Message_append__doc__[]; +extern PyObject *dbus_py_Message_append(Message *, PyObject *, PyObject *); +extern char dbus_py_Message_guess_signature__doc__[]; +extern PyObject *dbus_py_Message_guess_signature(PyObject *, PyObject *); +extern char dbus_py_Message_get_args_list__doc__[]; +extern PyObject *dbus_py_Message_get_args_list(Message *, + PyObject *, + PyObject *); + +extern PyObject *DBusPy_RaiseUnusableMessage(void); + +#endif |
