Lines Matching refs:host
181 if ((u->host == NULL) ||
182 (strcasecmp(u->host, "localhost") == 0) ||
183 (strcasecmp(u->host, nodename) == 0))
187 printer_name, u->host);
226 if ((u->host == NULL) ||
227 (strcasecmp(u->host, "localhost") == 0) ||
228 (strcasecmp(u->host, nodename) == 0))
236 u->host?u->host:"localhost", uri);
332 get_remote_hostname(papi_attribute_t **attrs, char **host)
338 *host = NULL;
340 "job-originating-host-name", host);
343 if (*host == NULL) {
346 if (u->host == NULL) {
350 *host = strdup(u->host);
360 if ((strcasecmp(*host, "localhost") == 0) ||
361 (strcasecmp(*host, nodename) == 0)) {
509 char *host = NULL;
511 if ((get_remote_hostname(attrs, &host)) != 0) {
514 "%s\n"), name, host);
515 free(host);
797 char *host = NULL;
816 "job-originating-host-name", &host);
886 * first call it contains the host information
893 if (host) {
900 if ((u->host == NULL) ||
901 (strcasecmp(u->host, "localhost") == 0) ||
902 (strcasecmp(u->host, nodename) == 0)) {
904 if (strcasecmp(host, nodename) == 0) {
915 user, host);
923 user, host);
932 snprintf(User, sizeof (User), "%s@%s", user, host);
938 * So get the host information from the uri
942 if ((u != NULL) && (u->host != NULL))
944 user, u->host);