diff options
author | Daniel Gollub <dgollub@att.com> | 2019-11-11 15:07:38 +0100 |
---|---|---|
committer | Vyatta Package Maintainers <DL-vyatta-help@att.com> | 2019-11-13 17:08:02 +0000 |
commit | 822c8f60b72cca97fb2c86db37835a60917d1c7e (patch) | |
tree | d5593a4ed1cbb8e9709411679974355a41f0289e /tacplus-daemon/dbus_service.h | |
download | tacplusd-822c8f60b72cca97fb2c86db37835a60917d1c7e.tar.gz tacplusd-822c8f60b72cca97fb2c86db37835a60917d1c7e.zip |
DANOS ImportHEADdebian/1.19danos/1908master
Diffstat (limited to 'tacplus-daemon/dbus_service.h')
-rw-r--r-- | tacplus-daemon/dbus_service.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tacplus-daemon/dbus_service.h b/tacplus-daemon/dbus_service.h new file mode 100644 index 0000000..09eb24e --- /dev/null +++ b/tacplus-daemon/dbus_service.h @@ -0,0 +1,36 @@ +/* + TACACS+ D-Bus Daemon code + + Copyright (c) 2018-2019, AT&T Intellectual Property. + Copyright (c) 2015 Brocade Communications Systems, Inc. + + SPDX-License-Identifier: GPL-2.0-only +*/ + +#ifndef _DBUS_SERVICE_H +#define _DBUS_SERVICE_H + +#include <assert.h> +#include <libtac.h> +#include <tacplus.h> +#include "tacplus_srv_conn.h" +#include "utils.h" + +typedef struct tacplus_dbus_service * tacplus_dbus_service_t; + +#define TACPLUS_DAEMON "net.vyatta.tacplus" +#define TACPLUS_DAEMON_PATH "/net/vyatta/tacplus" + +/* prototypes */ +extern void dbus_service_init(); +extern void dbus_service_deinit(); +extern int dbus_service_start(); +extern void dbus_service_stop(); +extern void dbus_service_pause(); +extern int dbus_service_resume(); +extern void dbus_service_wait(); +bool dbus_service_failed(); + +int signal_offline_state_change(); + +#endif /*_DBUS_SERVICE_H */ |