snmpBindLib

NAME

snmpBindLib - routines for binding values to variables in SNMP packets

SYNOPSIS

SNMP_Bind_Unsigned_Integer( ) - bind an unsigned-integer variable

SNMP_Bind_Integer( ) - bind an integer variable

SNMP_Bind_IP_Address( ) - bind an IP address variable

SNMP_Bind_Object_ID( ) - bind an object-identifier variable

SNMP_Bind_String( ) - bind a string variable

SNMP_Bind_64_Unsigned_Integer( ) - bind a 64-bit unsigned-integer variable

SNMP_Bind_Null( ) - bind a null-valued variable

int SNMP_Bind_Unsigned_Integer  
(SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, OCTET_T typeFlags, UINT_32_T value); 
int SNMP_Bind_Integer (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, INT_32_T value);
int SNMP_Bind_IP_Address (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, OCTET_T * pIpAddr);
int SNMP_Bind_Object_ID (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, int valc, OIDC_T * vall);
int SNMP_Bind_String (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, OCTET_T typeFlags, int leng, OCTET_T * strp, int statflg);
int SNMP_Bind_64_Unsigned_Integer (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl, OCTET_T typeFlags, UINT_32_T high, UINT_32_T low);
int SNMP_Bind_Null (SNMP_PKT_T * pktp, int index, int compc, OIDC_T * compl);

DESCRIPTION

This module defines the routines used to bind variables to their respective values in an SNMP packet.

INCLUDE FILES

snmpdefs.h