Lines Matching defs:comm
2133 * [<trans>::][<comm>@][<host-or-ip>][:<port>]
2174 const char *const comm[2] = {
2178 if (comm[1] == NULL)
2219 printf("comm: %zu %zu\n", comm[0] - orig, comm[1] - orig);
2278 if (comm[0] != comm[1] || strrchr(comm[0], '@') != NULL) {
2279 strncpy(sc->read_community, comm[0], comm[1] - comm[0]);
2280 sc->read_community[comm[1] - comm[0]] = '\0';
2281 strncpy(sc->write_community, comm[0], comm[1] - comm[0]);
2282 sc->write_community[comm[1] - comm[0]] = '\0';
2293 printf("comm: '%s'/'%s'\n", sc->read_community, sc->write_community);