synthesize.h revision 1433efd219a6df414a1821b3d3d70d86201ed3e4
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye#pragma once
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye/***
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye This file is part of systemd.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye Copyright 2014 Lennart Poettering
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye systemd is free software; you can redistribute it and/or modify it
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye under the terms of the GNU Lesser General Public License as published by
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye the Free Software Foundation; either version 2.1 of the License, or
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye (at your option) any later version.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye systemd is distributed in the hope that it will be useful, but
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye WITHOUT ANY WARRANTY; without even the implied warranty of
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye Lesser General Public License for more details.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye You should have received a copy of the GNU Lesser General Public License
6602c01097c66d242046fb0490e0a5dcc1ca36c5Lubos Kosco along with systemd; If not, see <http://www.gnu.org/licenses/>.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye***/
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
7224b1456affc41e89cf46eda1e0b74a044bcc93Lubos Kosco#include "sd-bus.h"
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye
d4ce228a333ba2daa19ad8b0672a704c8e42a2dcTrond Norbyeint synthetic_reply_method_errorf(sd_bus_message *call, const char *name, const char *format, ...);
d4ce228a333ba2daa19ad8b0672a704c8e42a2dcTrond Norbyeint synthetic_reply_method_return(sd_bus_message *call, const char *types, ...);
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Koscoint synthetic_reply_method_return_strv(sd_bus_message *call, char **l);
7e33e87b7d6c9a61ff11d23e37c02274b1223ce1Jens Elkner
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyeint synthetic_reply_method_error(sd_bus_message *call, const sd_bus_error *e);
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyeint synthetic_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *p);
64b763950bf11e9357facbd2b5666631a895c085Trond Norbyeint synthesize_name_acquired(sd_bus *a, sd_bus *b, sd_bus_message *m);
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye