Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.144.98.61
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
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,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/3/root/proc/2/task/2/root/proc/2/root/usr/share/snmp/mib2c-data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/3/root/proc/2/task/2/root/proc/2/root/usr/share/snmp/mib2c-data/mfd-data-get.m2c
############################################################# -*- c -*-
## generic include for XXX. Do not use directly.
##
########################################################################
########################################################################
## lower conf files get confused with multiple processing types, so
## set single options
@eval $mfd_data_get_processing_type_save = "$m2c_processing_type"@
@if "$mfd_processing_types" =~ /h/@
@eval $m2c_processing_type = 'h'@
@if $m2c_create_fewer_files != 1@
@   open ${name}_data_get.h@
/*
 * Note: this file originally auto-generated by mib2c
 * using mfd-data-get.m2c
 *
 * @file ${name}_data_get.h
 *
 * @addtogroup get
 *
 * Prototypes for get functions
 *
 * @{
 */
@   eval $m2c_tmp = "$name"@
@   eval $name = "${name}_DATA_GET"@
@   include generic-header-top.m2i@
@   eval $name = "$m2c_tmp"@
@end@ // m2c_create_fewer_files
@if $m2c_mark_boundary == 1@
/** START header generated by mfd-data-get.m2c */
@end@
########################################################################
##
/* *********************************************************************
 * GET function declarations
 */

/* *********************************************************************
 * GET Table declarations
 */
@foreach $table table@
@    include m2c_setup_table.m2i@
@    include details-table.m2i@
    /*
     * indexes
     */
@    foreach $node index@
@        include m2c_setup_node.m2i@
@        if $m2c_node_skip_mapping != 1@
    int ${node}_map($m2c_node_map_param);
@        end@ # // skip mapping
@    end@ # index

@    foreach $node nonindex@
@        include m2c_setup_node.m2i@
@        if $m2c_node_skip_mapping != 1@
    int ${node}_map($m2c_node_map_param);
@        end@ # // skip mapping
    int ${node}_get( ${context}_rowreq_ctx *rowreq_ctx, $m2c_node_param_ref );
@    end@ // nonindex

@    include generic-table-indexes-set.m2i@

@end@ // table

@if $m2c_mark_boundary == 1@
/** END header generated by mfd-data-get.m2c */
@end@
@if $m2c_create_fewer_files != 1@
@   eval $m2c_tmp = "$name"@
@   eval $name = "${name}_DATA_GET"@
@   include generic-header-bottom.m2i@
@   eval $name = "$m2c_tmp"@
/** @} */
@end@ // m2c_create_fewer_files
######################################################################
@end@ // $mfd_processing_types =~ /h/
######################################################################
######################################################################
######################################################################
@if "$mfd_processing_types" =~ /c/@
@eval $m2c_processing_type = 'c'@
@if $m2c_create_fewer_files != 1@
@open ${name}_data_get.c@
/*
 * Note: this file originally auto-generated by mib2c
 * using mfd-data-get.m2c
 */
@include generic-source-includes.m2i@

/** @defgroup data_get data_get: Routines to get data
 *
 * TODO:230:M: Implement $context get routines.
 * TODO:240:M: Implement $context mapping routines (if any).
 *
 * These routine are used to get the value for individual objects. The
 * row context is passed, along with a pointer to the memory where the
 * value should be copied.
 *
 * @{
 */
@end@ // m2c_create_fewer_files
@if $m2c_mark_boundary == 1@
/** START code generated by mfd-data-get.m2c */
@end@
@foreach $table table@
@    include m2c_setup_table.m2i@
@    include details-table.m2i@

/* ---------------------------------------------------------------------
 * TODO:200:r: Implement $context data context functions.
 */
@    if (($m2c_data_allocate == 1) || ($m2c_undo_embed == 0))  && ("$m2c_data_context" ne "generated")@
@        include generic-data-allocate.m2i@
@    end@

##
##   do nodes
##
##// internal only? how to know how to map external?
@    foreach $node index@
@        include m2c_setup_node.m2i@
@        if $m2c_node_skip_mapping != 0@
@           next@
@        end@
@        include details-node.m2i@
@        if $m2c_report_progress == 1@
@           print | |   +-> Processing index $node@
@        end@
@        include generic-value-map-func.m2i@
@    end@ # foreach column

@    include generic-table-indexes-set.m2i@

@    foreach $node nonindex@
@        include m2c_setup_node.m2i@
@        include details-node.m2i@
@        if $node.noaccess == 1@
@            next@ # skip to next column
@        end@
@        if $m2c_report_progress == 1@
@           print | |   +-> Processing nonindex $node@
@        end@
@        if $m2c_node_skip_mapping == 0@
@           include generic-value-map-func.m2i@
@        end@
@        include node-get.m2i@
@    end@ # foreach column

@end@ # foreach table

##
/** @} */
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by mfd-data-get.m2c */
@end@
########################################################################
@end@ // $mfd_processing_types =~ /c/
## restore original processing types
@eval $m2c_processing_type = "$mfd_data_get_processing_type_save"@

Anon7 - 2022
AnonSec Team