blob: 6a70a5cc90d54be06b219cbc9f35599634c0c894 [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 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (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
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 */
21#ifndef snmp_mtp_h
22#define snmp_mtp_h
23
24#include <net-snmp/net-snmp-config.h>
25#include <net-snmp/utilities.h>
26#include <net-snmp/net-snmp-includes.h>
27
28struct snmp_mtp_session {
29 netsnmp_session session, *ss;
30};
31
32void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *, int link_id);
33void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *, int link_id);
34
35struct snmp_mtp_session *snmp_mtp_session_create(char *host);
36void snmp_mtp_deactivate(struct snmp_mtp_session *);
37void snmp_mtp_activate(struct snmp_mtp_session *);
38
39#endif