Searched refs:snmp_cb_data (Results 1 – 1 of 1) sorted by relevance
43 static nds_snmp_cbdata_t *snmp_cb_data = NULL; variable102 if (snmp_cb_data != NULL) { in nds_EnablePrinterScanningViaSNMP()103 snmp_cb_data->enabled = FALSE; /* cancel it */ in nds_EnablePrinterScanningViaSNMP()107 if ((snmp_cb_data = calloc(1, sizeof (*snmp_cb_data))) != NULL) { in nds_EnablePrinterScanningViaSNMP()108 snmp_cb_data->ctx = ctx; in nds_EnablePrinterScanningViaSNMP()109 snmp_cb_data->enabled = TRUE; in nds_EnablePrinterScanningViaSNMP()110 snmp_cb_data->parent = STRDUP(parent); in nds_EnablePrinterScanningViaSNMP()111 snmp_cb_data->community = STRDUP(community); in nds_EnablePrinterScanningViaSNMP()112 snmp_cb_data->network = STRDUP(network); in nds_EnablePrinterScanningViaSNMP()118 g_timeout_add(interval * 1000, nds_snmp_scan_cb, snmp_cb_data); in nds_EnablePrinterScanningViaSNMP()[all …]