bus-message.h revision eccd47c5beb72211ce33c9a33a1bb36366d43e22
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen This file is part of systemd.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye Copyright 2013 Lennart Poettering
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye systemd is free software; you can redistribute it and/or modify it
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye under the terms of the GNU Lesser General Public License as published by
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye the Free Software Foundation; either version 2.1 of the License, or
bcae302a5f4b516d2f3c05f657df054e1a0efde7Knut Anders Hatlen (at your option) any later version.
98774b0b90e4da0f3f2c5e4856bcbbf366ed0fe0Knut Anders Hatlen systemd is distributed in the hope that it will be useful, but
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye WITHOUT ANY WARRANTY; without even the implied warranty of
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye Lesser General Public License for more details.
afb218f076cae538126a5f931299a82a114a075aKnut Anders Hatlen You should have received a copy of the GNU Lesser General Public License
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye along with systemd; If not, see <http://www.gnu.org/licenses/>.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye /* Indexes into the signature string */
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye /* dbus1: pointer to the array size value, if this is a value */
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye /* gvariant: list of offsets to end of children if this is struct/dict entry/array */
2ee41fb5c7467f453a1282e3afdfacdd4aa4e6b8Trond Norbye size_t *offsets, n_offsets, offsets_allocated, offset_index;
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye const char *path;
void *footer;
unsigned n_body_parts;
int *fds;
unsigned n_iovec;
char *peeked_signature;
const char *enforced_reply_signature;
char *destination_ptr;
unsigned n_header_offsets;
sizeof(struct bus_header) +
m->body_size;
sizeof(struct bus_header) +
void *header,
void *footer,
int *fds,
unsigned n_fds,
const char *label,
void *buffer,
int *fds,
unsigned n_fds,
const char *label,
int bus_message_new_synthetic_error(sd_bus *bus, uint64_t serial, const sd_bus_error *e, sd_bus_message **m);