8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/*
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina Authors:
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina Pavel Březina <pbrezina@redhat.com>
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina Copyright (C) 2014 Red Hat
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina This program is free software; you can redistribute it and/or modify
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina it under the terms of the GNU General Public License as published by
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina the Free Software Foundation; either version 3 of the License, or
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina (at your option) any later version.
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina This program is distributed in the hope that it will be useful,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina but WITHOUT ANY WARRANTY; without even the implied warranty of
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina GNU General Public License for more details.
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina You should have received a copy of the GNU General Public License
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina along with this program. If not, see <http://www.gnu.org/licenses/>.
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina*/
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina#ifndef _IFP_COMPONENTS_H_
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina#define _IFP_COMPONENTS_H_
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
7f0b01bf0a8f5c5b3ef145e81511b6db2cb4f98fPavel Březina#include "responder/ifp/ifp_iface.h"
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina#include "responder/ifp/ifp_private.h"
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* org.freedesktop.sssd.infopipe */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_list_components(struct sbus_request *dbus_req, void *data);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_list_responders(struct sbus_request *dbus_req, void *data);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_list_backends(struct sbus_request *dbus_req, void *data);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_find_monitor(struct sbus_request *dbus_req, void *data);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_find_responder_by_name(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina const char *arg_name);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinaint ifp_find_backend_by_name(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina const char *arg_name);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* org.freedesktop.sssd.infopipe.Components */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinavoid ifp_component_get_name(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina const char **_out);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinavoid ifp_component_get_debug_level(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina uint32_t *_out);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinavoid ifp_component_get_enabled(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina bool *_out);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinavoid ifp_component_get_type(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina const char **_out);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina/* org.freedesktop.sssd.infopipe.Components.Backends */
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březinavoid ifp_backend_get_providers(struct sbus_request *dbus_req,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina void *data,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina const char ***_out,
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina int *_out_len);
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina
8a1fd0633e85221da1fb63451516a70d66c0af31Pavel Březina#endif /* _IFP_COMPONENTS_H_ */