| D | testsnmp.c | 22 static int show_oid(int fd, const char *community, 40 const char *community; /* Community name */ in main() local 45 if ((community = _cupsSNMPDefaultCommunity()) == NULL) in main() 47 puts("FAIL (NULL community name)"); in main() 51 printf("PASS (%s)\n", community); in main() 65 community = argv[i]; in main() 92 else if (!show_oid(fd, community, &(host->addr), argv[i], walk)) in main() 102 if (!show_oid(fd, community, &(host->addr), in main() 195 const char *community, /* I - Community name */ in show_oid() argument 216 if (_cupsSNMPWalk(fd, addr, CUPS_SNMP_VERSION_1, community, oid, 5.0, in show_oid() [all …]
|