/*
Authors:
Simo Sorce <ssorce@redhat.com>
Stephen Gallagher <sgallagh@redhat.com>
Copyright (C) 2009 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_PRIVATE_H_
#define _SSSD_DBUS_PRIVATE_H_
#include <dhash.h>
#include "sssd_dbus_meta.h"
union dbus_conn_pointer {
};
enum dbus_conn_type {
};
struct sbus_watch_ctx;
struct sbus_connection {
char *address;
int connection_type;
int disconnect;
/* reconnect settings */
int retries;
int max_retries;
/* Private data needed to reinit after reconnection */
void *reconnect_pvt;
/* server related stuff */
char *symlink;
void *srv_init_data;
/* watches list */
/* responder related stuff */
/* client related stuff */
void *client_destructor_data;
};
/* =Standard=interfaces=================================================== */
struct sbus_vtable *sbus_introspect_vtable(void);
struct sbus_vtable *sbus_properties_vtable(void);
/* =Watches=============================================================== */
struct sbus_watch_ctx {
int fd;
};
/* =Timeouts============================================================== */
struct sbus_timeout_ctx {
};
/* =Requests============================================================== */
struct sbus_request *
/* =Interface=and=object=paths============================================ */
struct sbus_interface_list {
};
struct sbus_connection *conn);
struct sbus_interface *
const char *object_path,
const char *iface_name);
const char *object_path,
struct sbus_interface_list **_list);
const char **
const char *object_path);
void
void *handler_data,
/* A low-level, private variant of sbus_conn_send that accepts just
* DBusConnection. It should never be used outside sbus code, responders
* and back ends should use sbus_conn_send!
*/
int timeout_ms,
void *pvt,
/* =Retrieve-conn-credentials=============================================== */
struct tevent_context *ev,
struct sbus_connection *conn,
const char *sender);
/* =Properties============================================================ */
/* =Signals=============================================================== */
void *handler_data);
#endif /* _SSSD_DBUS_PRIVATE_H_ */