summaryrefslogtreecommitdiff
path: root/include/net-snmp/library/snmpSTDDomain.h
blob: 3e9a59f241170cd46f87b7e8cc8aeea537a25fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef _SNMPSTDDOMAIN_H
#define _SNMPSTDDOMAIN_H

#ifdef NETSNMP_TRANSPORT_STD_DOMAIN

#include <net-snmp/library/snmp_transport.h>

#ifdef __cplusplus
extern          "C" {
#endif

/*
 * The SNMP over STD over IPv4 transport domain is identified by
 * transportDomainStdIpv4 as defined in RFC 3419.
 */

#define TRANSPORT_DOMAIN_STD_IP		1,3,6,1,2,1,100,1,101
extern oid netsnmp_snmpSTDDomain[];

    typedef struct netsnmp_std_data_s {
       int outfd;
       int childpid;
       char *prog;
    } netsnmp_std_data;
    
    netsnmp_transport *netsnmp_std_transport(const char *instring,
                                             size_t instring_len,
                                             const char *default_target);

    /*
     * "Constructor" for transport domain object.  
     */

    void            netsnmp_std_ctor(void);

#ifdef __cplusplus
}
#endif
#endif                          /*NETSNMP_TRANSPORT_STD_DOMAIN */

#endif/*_SNMPSTDDOMAIN_H*/