sss_sifp_dbus.h revision 931b39232b82be374256d8532d86903fe1d87bf2
2035N/A Pavel Březina <pbrezina@redhat.com> 2035N/A This program is free software; you can redistribute it and/or modify 2035N/A it under the terms of the GNU General Public License as published by 2035N/A the Free Software Foundation; either version 3 of the License, or 2035N/A (at your option) any later version. 2035N/A This program is distributed in the hope that it will be useful, 2035N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 2035N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2035N/A GNU General Public License for more details. 2035N/A You should have received a copy of the GNU General Public License 2035N/A * @defgroup sss_sifp_dbus Advanced InfoPipe method calls. 2035N/A * Functions in this module provide a way to reuse sss_sifp connection 2035N/A * to the SSSD's InfoPipe responder. 2035N/A * This allows the caller to send more sophisticated messages to the InfoPipe 2035N/A * and to use both sss_sifp and D-Bus without the need of maintaining two 2899N/A * separate D-Bus connections. 2035N/A * However, these functions require the caller to understand the D-Bus 2035N/A * @brief Create a new method call message for SSSD InfoPipe bus. 2035N/A * @param[in] object_path D-Bus object path 2035N/A * @param[in] interface D-Bus interface 2035N/A * @param[in] method D-Bus method * @brief Send D-Bus message to SSSD InfoPipe bus with 5 seconds timeout. * @param[in] ctx sss_sifp context * @param[in] msg D-Bus message * @param[in] _reply D-Bus reply, may be NULL if the caller is not interested * @brief Send D-Bus message to SSSD InfoPipe bus. * @param[in] ctx sss_sifp context * @param[in] msg D-Bus message * @param[in] timeout Timeout * @param[in] _reply D-Bus reply, may be NULL if the caller is not interested * @brief List objects that satisfies given conditions. This routine will * invoke List<method> D-Bus method on SSSD InfoPipe interface. Arguments * to this method are given as standard variadic D-Bus arguments. * @param[in] ctx sss_sifp context * @param[in] method D-Bus method to call without the 'List' prefix * @param[out] _object_paths List of object paths * @param[in] first_arg_type Type of the first D-Bus argument * @param[in] ... D-Bus arguments * @brief Find single object that satisfies given conditions. This routine will * invoke Find<method> D-Bus method on SSSD InfoPipe interface. Arguments * to this method are given as standard variadic D-Bus arguments. * @param[in] ctx sss_sifp context * @param[in] method D-Bus method to call without the 'Find' prefix * @param[out] _object_path Object path * @param[in] first_arg_type Type of the first D-Bus argument * @param[in] ... D-Bus arguments #
endif /* SSS_SIFP_DBUS_H_ */