Hi ,
 
I am writing an agent snmp using mib2c.create-dataset.conf. And in the testProTable_handler() function i need print using DEBUGMSGTL all variables of table related with the column received for function. For example:
In the testProTable_handler() i have
 
switch (reqinfo->mode) {
  case MODE_GET:
    switch (table_info->colnum) {
    case COLUMN_TIMEOFRESP:
    {
                    /* my code here */
    }
}
 
The column COLUMN_TIMEOFRESP it's part of a table, and in  "/* my code here */" i need get all the column of the same table.
 
i got the index of table with table_info->indexes->val, but, How can I catch the values of all other columns of the same table ?
 
Tanks.
 
-------------
Wesley Naves de Faria
Analista de suporte
FreeBSD/OpenBSD/Linux
AGANP - Agência Goiana de Administração Negócios Públicos
Contato: +55 (0XX62) 3201-6582

Reply via email to