blob: fea3c660cafe9a25e88ac4c25ef9b7a4db8c7fcb [file] [log] [blame]
Holger Hans Peter Freyther97f66e22010-07-28 03:32:52 +08001/*
2 * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org>
3 * (C) 2010 by On-Waves
4 * All Rights Reserved
5 *
Holger Hans Peter Freytherde56c222011-01-16 17:45:14 +01006 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
Holger Hans Peter Freyther97f66e22010-07-28 03:32:52 +08009 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Holger Hans Peter Freytherde56c222011-01-16 17:45:14 +010014 * GNU Affero General Public License for more details.
Holger Hans Peter Freyther97f66e22010-07-28 03:32:52 +080015 *
Holger Hans Peter Freytherde56c222011-01-16 17:45:14 +010016 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Holger Hans Peter Freyther97f66e22010-07-28 03:32:52 +080018 *
19 */
20#ifndef snmp_mtp_h
21#define snmp_mtp_h
22
23#include <net-snmp/net-snmp-config.h>
24#include <net-snmp/utilities.h>
25#include <net-snmp/net-snmp-includes.h>
26
27struct snmp_mtp_session {
28 netsnmp_session session, *ss;
29};
30
31void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *, int link_id);
32void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *, int link_id);
33
34struct snmp_mtp_session *snmp_mtp_session_create(char *host);
35void snmp_mtp_deactivate(struct snmp_mtp_session *);
36void snmp_mtp_activate(struct snmp_mtp_session *);
37
38#endif