Server IP : 85.214.239.14 / Your IP : 3.21.244.240 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 : /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 parent-dependencies.m2i */ @end@ # ; ######################################################################## ## /** * check dependencies * * This is useful for for tables which have dependencies between columns * (or rows, or tables). For example, two columns allocating a percentage * of something add up 100%. * * Should you need different behavior depending on which columns were * set, rowreq_ctx->column_set_flags will indicate which writeable columns were * set. The definitions for the COLUMN_*_FLAG bits can be found in @if $m2c_create_fewer_files != 1@ * ${context}_oids.h. @else@ * ${context}.h. @end@ * A new row will have the MFD_ROW_CREATED bit set in rowreq_flags. * * @retval MFD_SUCCESS all the changes to the row are legal * @retval MFD_ERROR one or more changes are not legal * * (see README-table-${table} if you don't have dependencies) */ int ${context}_check_dependencies(${context}_rowreq_ctx *rowreq_ctx) { int rc = MFD_SUCCESS; DEBUGMSGTL(("internal:${context}:${context}_check_dependencies","called\n")); netsnmp_assert(NULL != rowreq_ctx); /* * TODO:470:o: Check $context row dependencies. * check that all new value are legal and consistent with each other */ ## } @foreach $node nonindex@ @ ifconf syntax-$node.syntax-dependencies.m2i@ @ include syntax-$node.syntax-dependencies.m2i@ if ( MFD_SUCCESS != rc ) return rc; @ end@ @end@ # for each ## { return rc; } /* ${context}_check_dependencies */ ## ######################################################################## @if $m2c_mark_boundary == 1@ /** END code generated by parent-dependencies.m2i */ @end@