Lines Matching refs:chost
850 c->chost = NULL;
886 if (snmp_client.chost == NULL) {
887 if ((snmp_client.chost = malloc(1 + sizeof(DEFAULT_HOST)))
892 strcpy(snmp_client.chost, DEFAULT_HOST);
899 free(snmp_client.chost);
900 snmp_client.chost = ptr;
901 strcpy(snmp_client.chost, host);
927 error = getaddrinfo(snmp_client.chost, snmp_client.cport, &hints, &res0);
929 seterr(&snmp_client, "%s: %s", snmp_client.chost,
972 if (snmp_client.chost == NULL) {
973 if ((snmp_client.chost = malloc(1 + sizeof(DEFAULT_LOCAL)))
978 strcpy(snmp_client.chost, DEFAULT_LOCAL);
985 free(snmp_client.chost);
986 snmp_client.chost = ptr;
987 strcpy(snmp_client.chost, path);
1025 strlen(snmp_client.chost);
1026 strncpy(sa.sun_path, snmp_client.chost, sizeof(sa.sun_path) - 1);
1130 free(snmp_client.chost);
1825 if (cl->chost != NULL)
1826 free(cl->chost);
1827 cl->chost = NULL;
1832 if (cl->chost != NULL)
1833 free(cl->chost);
1834 cl->chost = np;
1930 free(sc->chost);
1931 if ((sc->chost = malloc(p - s + 1)) == NULL) {
1935 strncpy(sc->chost, s, p - s);
1936 sc->chost[p - s] = '\0';
1948 free(sc->chost);
1949 if ((sc->chost = malloc(strlen(s) + 1)) == NULL) {
1953 strcpy(sc->chost, s);