/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef SSSD_DBUS_UTILS_H_
#define SSSD_DBUS_UTILS_H_
/* Creates a DBusMessage from a vararg list. Please note that even though
* this function and sbus_create_message accept a talloc memory context,
* it is not valid to free the resulting message with talloc_free() directly.
* Instead, either free the parent memory context or directly call
* dbus_message_unref on the message if you pass NULL memory context to
* these functions
*/
const char *bus,
const char *path,
const char *iface,
const char *method,
int first_arg_type,
const char *bus,
const char *path,
const char *iface,
const char *method,
int first_arg_type,
...);
bool check_reply,
int first_arg_type,
bool check_reply,
int first_arg_type,
...);
#endif /* SSSD_DBUS_UTILS_H_ */