~ubuntu-branches/debian/lenny/net-snmp/lenny

« back to all changes in this revision

Viewing changes to local/mib2c-conf.d/node-get.m2i

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-05-10 22:20:23 UTC
  • Revision ID: james.westby@ubuntu.com-20070510222023-3fr07xb9i17xvq32
Tags: upstream-5.3.1
ImportĀ upstreamĀ versionĀ 5.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#############################################################  -*- c -*-
2
2
## generic include for XXX. Do not use directly.
3
3
##
4
 
## $Id: node-get.m2i,v 1.14 2004/10/15 00:52:14 rstory Exp $
 
4
## $Id: node-get.m2i,v 1.18 2005/08/30 00:38:54 rstory Exp $
5
5
########################################################################
6
6
@if $m2c_mark_boundary == 1@
7
 
/** START code generated by $RCSfile: node-get.m2i,v $ $Revision: 1.14 $ */
 
7
/** START code generated by $RCSfile: node-get.m2i,v $ $Revision: 1.18 $ */
8
8
@end@
9
9
########################################################################
10
10
##
61
61
/*
62
62
 * TODO:231:o: |-> Extract the current value of the $node data.
63
63
@if $m2c_node_needlength == 0@
64
 
 * set $m2c_node_lh from $m2c_data_item_base
 
64
 * copy $m2c_node_lh from $m2c_data_item_base
65
65
@else@
66
 
 * set $m2c_node_lh and $m2c_node_lhs from $m2c_data_item_base
 
66
 * copy $m2c_node_lh data and $m2c_node_lhs from $m2c_data_item_base
67
67
@end@
68
68
 */
69
69
@    if ("$m2c_data_context" eq "generated") && ($m2c_node_skip_get != 1)@
70
70
@        include generic-ctx-get.m2i@
71
71
@    else@
72
 
    return MFD_SKIP; /* TODO:235:M: |-> Remove SKIP once you've set $node data */
 
72
@       if ($m2c_node_skip_get != 1)@
 
73
 /*
 
74
  * TODO:235:M: |-> Remove log message/SKIP once you've set $node data
 
75
  */
 
76
    snmp_log(LOG_ERR,"${context} node $node not implemented: skipping\n");
 
77
@       end@
 
78
    return MFD_SKIP;
73
79
@    end@
74
80
##   ------------------------------------------------------------------
75
81
@    if $node.decl =~ /long/i@ #   ASN_INTEGER ASN_COUNTER ASN_GAUGE
97
103
##
98
104
########################################################################
99
105
@if $m2c_mark_boundary == 1@
100
 
/** END code generated by $RCSfile: node-get.m2i,v $ $Revision: 1.14 $ */
 
106
/** END code generated by $RCSfile: node-get.m2i,v $ $Revision: 1.18 $ */
101
107
@end@