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