IsValidStructure Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
IsValidStructure Function
C
BYTE IsValidStructure(
    WORD* dataLen
);
Description

This routine is used to verify whether the received varbind is of type STRUCTURE and to find out the variable binding structure length.

Preconditions

ProcessHeader() is called.

Parameters
Parameters 
Description 
datalen 
Pointer to memory to store OID structure length. 
Return Values
Return Values 
Description 
headrbytes 
Variable binding length. 
FALSE 
If variable data structure is not type STRUCTURE
Remarks

None.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.