if (strcasecmp ("Type", option->key) == 0)
status = csnmp_config_add_data_type (dd, option);
if (strcasecmp ("Type", option->key) == 0)
status = csnmp_config_add_data_type (dd, option);
if (value_table_ptr == NULL)
return (-1);
for (i = 0; i < data->values_len; i++)
value_table_ptr[i] = value_table[i];
if (value_table_ptr == NULL)
return (-1);
for (i = 0; i < data->values_len; i++)
value_table_ptr[i] = value_table[i];
/* We need a copy of all the OIDs, because GETNEXT will destroy them. */
memcpy (oid_list, data->values, data->values_len * sizeof (oid_t));
/* We need a copy of all the OIDs, because GETNEXT will destroy them. */
memcpy (oid_list, data->values, data->values_len * sizeof (oid_t));
for (vb = res->variables, i = 0; (vb != NULL); vb = vb->next_variable, i++)
{
/* Calculate value index from todo list */
for (vb = res->variables, i = 0; (vb != NULL); vb = vb->next_variable, i++)
{
/* Calculate value index from todo list */
if (status == 0)
csnmp_dispatch_table (host, data, instance_list_head, value_list_head);
if (status == 0)
csnmp_dispatch_table (host, data, instance_list_head, value_list_head);