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/parser.h | |
download | tacplusd-master.tar.gz tacplusd-master.zip |
DANOS ImportHEADdebian/1.19danos/1908master
Diffstat (limited to 'tacplus-daemon/parser.h')
-rw-r--r-- | tacplus-daemon/parser.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tacplus-daemon/parser.h b/tacplus-daemon/parser.h new file mode 100644 index 0000000..cdfa417 --- /dev/null +++ b/tacplus-daemon/parser.h @@ -0,0 +1,30 @@ +/* + TACACS+ D-Bus Daemon code + + Copyright (c) 2018 AT&T Intellectual Property. + Copyright (c) 2015-2016 Brocade Communications Systems, Inc. + + SPDX-License-Identifier: GPL-2.0-only +*/ + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> +#include "tacplus_srv_conn.h" +#include <syslog.h> + +#define TACPLUS_MAX_SERVERS 100 + +struct connection { + struct addrinfo *addr; + const char *secret; + int timeout; + unsigned hold_down; + struct addrinfo *src_addr; + const char *src_intf; +}; + +void read_config(const char *, struct tacplus_options **); |