summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i')
-rw-r--r--cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i51
1 files changed, 0 insertions, 51 deletions
diff --git a/cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i b/cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i
deleted file mode 100644
index 844bbdef51..0000000000
--- a/cleopatre/application/spidnetsnmp/local/mib2c-conf.d/generic-table-indexes-varbind-setup.m2i
+++ /dev/null
@@ -1,51 +0,0 @@
-############################################################# -*- c -*-
-## generic include for XXX. Do not use directly.
-##
-## $Id: generic-table-indexes-varbind-setup.m2i 10286 2004-05-18 17:35:47Z rstory $
-########################################################################
-@if $m2c_mark_boundary == 1@
-/** START code generated by $RCSfile$ $Revision: 10286 $ */
-@end@
-########################################################################
-##
- int err = SNMP_ERR_NOERROR;
-
- /*
- * temp storage for parsing indexes
- */
-@ eval $m2c_dii_first = ""@
-@ foreach $node index@
-@ include m2c_setup_node.m2i@
-@ if "x$m2c_dii_first" eq "x"@
-@ eval $m2c_dii_first = $node@
-@ eval $m2c_dii_tmp = "var_${node}.next_variable = "@
-@ else@
-@ eval $m2c_dii_tmp = "$m2c_dii_tmp &var_${node}; var_${node}.next_variable = "@
-@ end@
- /*
- * $m2c_node_summary
- */
- netsnmp_variable_list var_$node;
-@ end@
-@ eval $m2c_dii_tmp = "$m2c_dii_tmp NULL;"@
-
- /*
- * set up varbinds
- */
-@ eval $mfd_temp = "idx_vars"@
-@ foreach $node index@
-@ include m2c_setup_node.m2i@
- memset( &var_$node, 0x00, sizeof(var_$node) );
- var_${node}.type = $node.type;
-@ end@
-
- /*
- * chain temp index varbinds together
- */
- $m2c_dii_tmp
-
-##
-########################################################################
-@if $m2c_mark_boundary == 1@
-/** END code generated by $RCSfile$ $Revision: 10286 $ */
-@end@