Lines Matching defs:svc
153 lpd_add_rfc1179_attributes(service_t *svc, papi_attribute_t **attributes,
166 if (svc == NULL)
186 papiAttributeListGetString(svc->attributes, NULL, "username",
349 lpd_add_svr4_attributes(service_t *svc, papi_attribute_t **attributes,
356 if (svc == NULL)
440 lpd_add_hpux_attributes(service_t *svc, papi_attribute_t **attributes,
455 lpd_job_add_attributes(service_t *svc, papi_attribute_t **attributes,
458 if ((svc == NULL) || (metadata == NULL))
461 lpd_add_rfc1179_attributes(svc, attributes, metadata, used);
464 if (svc->uri->fragment != NULL) {
465 if ((strcasecmp(svc->uri->fragment, "solaris") == 0) ||
466 (strcasecmp(svc->uri->fragment, "svr4") == 0))
467 lpd_add_svr4_attributes(svc, attributes, metadata,
469 else if (strcasecmp(svc->uri->fragment, "hpux") == 0)
470 lpd_add_hpux_attributes(svc, attributes, metadata,
482 lpd_job_add_files(service_t *svc, papi_attribute_t **attributes,
491 if ((svc == NULL) || (attributes == NULL) || (files == NULL) ||
500 if ((svc->uri->fragment != NULL) &&
501 ((strcasecmp(svc->uri->fragment, "solaris") == 0) ||
502 (strcasecmp(svc->uri->fragment, "svr4") == 0)))
522 detailed_error(svc, gettext("aborting request, %s: %s"),
528 detailed_error(svc,
534 detailed_error(svc,
548 detailed_error(svc,
565 lpd_submit_job(service_t *svc, char *metadata, papi_attribute_t ***attributes,
573 if ((svc == NULL) || (metadata == NULL))
584 if (((fd = lpd_open(svc, 's', list, 15)) < 0) && (errno != EBADMSG)) {