diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-21 13:36:11 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-21 18:01:37 +0100 |
commit | 4da421da6fed6135f7c01eeb6769fb2a82d476cb (patch) | |
tree | e09f3d17bcd42145f9dd356db860161f933ea9f2 | |
parent | 083a30b9b8fc27fff249285f3accdbff44e84b05 (diff) |
udp: Make two snmp functions internal
-rw-r--r-- | include/snmp_mtp.h | 3 | ||||
-rw-r--r-- | src/snmp_mtp.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/snmp_mtp.h b/include/snmp_mtp.h index beefa48..045e90f 100644 --- a/include/snmp_mtp.h +++ b/include/snmp_mtp.h @@ -28,9 +28,6 @@ struct snmp_mtp_session { netsnmp_session session, *ss; }; -void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *, int link_id); -void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *, int link_id); - struct snmp_mtp_session *snmp_mtp_session_create(char *host); void snmp_mtp_deactivate(struct snmp_mtp_session *, int link_id); void snmp_mtp_activate(struct snmp_mtp_session *, int link_id); diff --git a/src/snmp_mtp.c b/src/snmp_mtp.c index fc347aa..ec4d892 100644 --- a/src/snmp_mtp.c +++ b/src/snmp_mtp.c @@ -57,7 +57,7 @@ static void send_pdu(netsnmp_session *ss, netsnmp_pdu *pdu) snmp_free_pdu(response); } -void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *session, int link_id) +static void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *session, int link_id) { netsnmp_pdu *pdu; pdu = snmp_pdu_create(SNMP_MSG_SET); @@ -67,7 +67,7 @@ void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *session, int link_id) send_pdu(session->ss, pdu); } -void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *session, int link_id) +static void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *session, int link_id) { netsnmp_pdu *pdu; pdu = snmp_pdu_create(SNMP_MSG_SET); |