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"
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering
e23bc0e7cac8ba79f4e14ab98ecd68c79cc87aabDavid Herrmann#include "proxy.h"
f3c4724635951c5b8a2b3f3c3f25798ce4d290cdDaniel Mack
52fa7a3af1322aa716e5afc08b60ff2e9e13c022Lukasz Skalskiint synthetic_driver_send(sd_bus *b, sd_bus_message *m);
52fa7a3af1322aa716e5afc08b60ff2e9e13c022Lukasz Skalski
f3c4724635951c5b8a2b3f3c3f25798ce4d290cdDaniel Mackint synthetic_reply_method_return(sd_bus_message *call, const char *types, ...);
1433efd219a6df414a1821b3d3d70d86201ed3e4Lennart Poetteringint synthetic_reply_method_return_strv(sd_bus_message *call, char **l);
1433efd219a6df414a1821b3d3d70d86201ed3e4Lennart Poettering
f3c4724635951c5b8a2b3f3c3f25798ce4d290cdDaniel Mackint synthetic_reply_method_error(sd_bus_message *call, const sd_bus_error *e);
5f6cb091278906423f8b7e70c40131db7269916aLennart Poetteringint synthetic_reply_method_errorf(sd_bus_message *call, const char *name, const char *format, ...) _sd_printf_(3, 4);
f3c4724635951c5b8a2b3f3c3f25798ce4d290cdDaniel Mackint synthetic_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *p);
5f6cb091278906423f8b7e70c40131db7269916aLennart Poetteringint synthetic_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) _sd_printf_(3, 4);
5f6cb091278906423f8b7e70c40131db7269916aLennart Poettering
e23bc0e7cac8ba79f4e14ab98ecd68c79cc87aabDavid Herrmannint synthesize_name_acquired(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m);