Blame include/net-snmp/pdu_api.h

Packit Service b38f0b
#ifndef NET_SNMP_PDU_API_H
Packit Service b38f0b
#define NET_SNMP_PDU_API_H
Packit Service b38f0b
Packit Service b38f0b
    /**
Packit Service b38f0b
     *  Library API routines concerned with SNMP PDUs.
Packit Service b38f0b
     */
Packit Service b38f0b
Packit Service b38f0b
#include <net-snmp/types.h>
Packit Service b38f0b
Packit Service b38f0b
#ifdef __cplusplus
Packit Service b38f0b
extern          "C" {
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
NETSNMP_IMPORT
Packit Service b38f0b
netsnmp_pdu    *snmp_pdu_create(int type);
Packit Service b38f0b
NETSNMP_IMPORT
Packit Service b38f0b
netsnmp_pdu    *snmp_clone_pdu(netsnmp_pdu *pdu);
Packit Service b38f0b
NETSNMP_IMPORT
Packit Service b38f0b
netsnmp_pdu    *snmp_fix_pdu(  netsnmp_pdu *pdu, int idx);
Packit Service b38f0b
NETSNMP_IMPORT
Packit Service b38f0b
void            snmp_free_pdu( netsnmp_pdu *pdu);
Packit Service b38f0b
Packit Service b38f0b
#ifdef __cplusplus
Packit Service b38f0b
}
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
    /*
Packit Service b38f0b
     *    Having extracted the main ("public API") calls relevant
Packit Service b38f0b
     *  to this area of the Net-SNMP project, the next step is to
Packit Service b38f0b
     *  identify the related "public internal API" routines.
Packit Service b38f0b
     *
Packit Service b38f0b
     *    In due course, these should probably be gathered
Packit Service b38f0b
     *  together into a companion 'library/pdu_api.h' header file.
Packit Service b38f0b
     *  [Or some suitable name]
Packit Service b38f0b
     *
Packit Service b38f0b
     *    But for the time being, the expectation is that the
Packit Service b38f0b
     *  traditional headers that provided the above definitions
Packit Service b38f0b
     *  will probably also cover the relevant internal API calls.
Packit Service b38f0b
     *  Hence they are listed here:
Packit Service b38f0b
     */
Packit Service b38f0b
Packit Service b38f0b
#include <net-snmp/library/snmp_api.h>
Packit Service b38f0b
#include <net-snmp/library/snmp_client.h>
Packit Service b38f0b
#include <net-snmp/library/asn1.h>
Packit Service b38f0b
Packit Service b38f0b
#endif                          /* NET_SNMP_PDU_API_H */