Debian Codegraph @

agent/mibgroup/ucd-snmp/lmsensorsMib.h

raw
1 #ifndef LM_SENSORS_MIB_H
2 #define LM_SENSORS_MIB_H
3
4 config_require(hardware/sensors);
5 config_add_mib(LM-SENSORS-MIB);
6
7 /* function declarations */
8 void init_lmsensorsMib(void);
9 void shutdown_lmsensorsMib(void);
10
11 /*
12 * Handler and Column definitions for lmXxxxSensorsTable
13 *
14 * Note that the same handler (and hence the same
15 * column identifiers) are used for all four tables.
16 * This is possible because all the table share the
17 * same structure and behaviour.
18 */
19 Netsnmp_Node_Handler lmSensorsTables_handler;
20 #define COLUMN_LMSENSORS_INDEX 1
21 #define COLUMN_LMSENSORS_DEVICE 2
22 #define COLUMN_LMSENSORS_VALUE 3
23 #define COLUMN_LMSENSORS_SIGNED 4
24
25 #endif /* LM_SENSORS_MIB_H */