NAME
snmp_coexist_V2toV1, snmp_coexist_V1toV2 - Translate SNMP packets

SYNOPSIS
cc [ flag ... ] file ... -lsnmp [ library ... ]

#include <sys/types.h>
#include <snmp/snmp.h>

int snmp_coexist_V2toV1(struct snmp_pdu PDU);

int snmp_coexist_V1toV2(struct snmp_pdu PDU);

DESCRIPTION
Both functions convert the specified packet to the appropriate version. These functions are designed to work in an SNMP agent, and convert requests to allow a V1 agent to communicate with a V2 manager.

RETURN VALUE
All functions return 1 upon success, 0 otherwise.

ERRORS
If any of these return unsuccessfully, snmp_api_error() will be set.

WARNINGS
These functions have never been tested.