~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to include/net-snmp/library/snmpSTDDomain.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-10 22:20:23 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20070510222023-3fr07xb9i17xvq32
Tags: upstream-5.3.1
ImportĀ upstreamĀ versionĀ 5.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _SNMPSTDDOMAIN_H
 
2
#define _SNMPSTDDOMAIN_H
 
3
 
 
4
#ifdef SNMP_TRANSPORT_STD_DOMAIN
 
5
 
 
6
#ifdef __cplusplus
 
7
extern          "C" {
 
8
#endif
 
9
 
 
10
#include <net-snmp/library/snmp_transport.h>
 
11
#include <net-snmp/library/asn1.h>
 
12
 
 
13
/*
 
14
 * The SNMP over STD over IPv4 transport domain is identified by
 
15
 * transportDomainStdIpv4 as defined in RFC 3419.
 
16
 */
 
17
 
 
18
#define TRANSPORT_DOMAIN_STD_IP         1,3,6,1,2,1,100,1,101
 
19
extern oid netsnmp_snmpSTDDomain[];
 
20
 
 
21
    typedef struct netsnmp_std_data_s {
 
22
       int outfd;
 
23
       int childpid;
 
24
       char *prog;
 
25
    } netsnmp_std_data;
 
26
    
 
27
    netsnmp_transport *netsnmp_std_transport(const char *instring,
 
28
                                             size_t instring_len);
 
29
 
 
30
    /*
 
31
     * "Constructor" for transport domain object.  
 
32
     */
 
33
 
 
34
    void            netsnmp_std_ctor(void);
 
35
 
 
36
#ifdef __cplusplus
 
37
}
 
38
#endif
 
39
#endif                          /*SNMP_TRANSPORT_STD_DOMAIN */
 
40
 
 
41
#endif/*_SNMPSTDDOMAIN_H*/