Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
share
/
snmp
/
mib2c-data
/
Upload File :
New :
File
Dir
//proc/self/root/usr/share/snmp/mib2c-data/generic-ctx-set.m2i
############################################################# -*- c -*- ## generic include for XXX. Do not use directly. ## ## $Id: generic-ctx-set.m2i 12586 2005-07-25 23:25:54Z rstory $ ######################################################################## @if $m2c_mark_boundary == 1@ /** START code generated by $RCSfile$ $Revision: 12586 $ */ @end@ ######################################################################## ## /* * TODO:461:M: |-> Set $node value. * set $node value in $m2c_data_item_base */ @if ($m2c_include_examples != 0) || ("$m2c_data_context" eq "generated")@ @ if $m2c_node_needlength == 0@ ${m2c_data_item}$node = $m2c_node_srh; @ else@ memcpy( ${m2c_data_item}$node, $m2c_node_srh, $m2c_node_srhs ); /** convert bytes to number of $m2c_decl */ ${m2c_data_item}${node}_len = $m2c_node_srhs / sizeof(${m2c_node_srh}[0]); @ end@ # need length @end@ ## ######################################################################## @if $m2c_mark_boundary == 1@ /** END code generated by $RCSfile$ $Revision: 12586 $ */ @end@