/*
Generated by sbus code generator
Copyright (C) 2017 Red Hat
This program is free software; you can redistribute it and/or modify
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 .
*/
#ifndef _SBUS_SSS_CLIENT_SYNC_H_
#define _SBUS_SSS_CLIENT_SYNC_H_
#include
#include
#include
#include "sbus/sbus_sync.h"
#include "sss_iface/sbus_sss_client_properties.h"
#include "sss_iface/sss_iface_types.h"
errno_t
sbus_call_systemd_RestartUnit
(TALLOC_CTX *mem_ctx,
struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
const char * arg_name,
const char * arg_mode,
const char ** _arg_job);
errno_t
sbus_call_systemd_StartUnit
(TALLOC_CTX *mem_ctx,
struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
const char * arg_name,
const char * arg_mode,
const char ** _arg_job);
errno_t
sbus_call_systemd_StopUnit
(TALLOC_CTX *mem_ctx,
struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
const char * arg_name,
const char * arg_mode,
const char ** _arg_job);
errno_t
sbus_get_service_debug_level
(struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
uint32_t* _value);
errno_t
sbus_set_service_debug_level
(struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
uint32_t value);
errno_t
sbus_getall_service
(TALLOC_CTX *mem_ctx,
struct sbus_sync_connection *conn,
const char *busname,
const char *object_path,
struct sbus_all_service **_properties);
#endif /* _SBUS_SSS_CLIENT_SYNC_H_ */