|
Server : LiteSpeed System : Linux srv475744146.host.ultaserver.net 5.15.0-138-generic #148-Ubuntu SMP Fri Mar 14 19:05:48 UTC 2025 x86_64 User : indog6927 ( 1163) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/snmp/mib2c-data/ |
Upload File : |
############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by generic-value-map.m2i */
@end@
########################################################################
## }
@if $m2c_node_skip_mapping == 1@
/** no mapping */
@ include generic-ctx-get.m2i@
@else@ // mapping
/*
* TODO:246:r: |-> Define $node mapping.
* Map values between raw/native values and MIB values
*
@ if $m2c_node_needlength == 1@
* if(MFD_SUCCESS !=
* ${node}_map(&$m2c_ctx_lh, &$m2c_ctx_lhs,
* $m2c_ctx_rh, $m2c_ctx_rhs, $m2c_node_realloc)) {
* return MFD_ERROR;
* }
*/
@ include generic-ctx-get.m2i@
##
@ elsif ($node.enums == 1) && ("$node.perltype" eq "INTEGER")@
##
* enums usually need mapping.
*/
if(MFD_SUCCESS !=
${node}_map(&${m2c_ctx_lh}, ${m2c_ctx_rh} )) {
return MFD_ERROR;
}
@ else@ // enums
* Integer based value can usually just do a direct copy.
*/
@ include generic-ctx-get.m2i@
@ end@
@end@ // mapping
##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by generic-value-map.m2i */
@end@