Lines Matching defs:uri
179 * (object identifier) printer-uri/job-id or job-uri
214 _default_destination(service_t *svc, char **uri)
221 if ((svc == NULL) || (uri == NULL))
234 "requested-attributes", "printer-uri-supported");
245 if (uri != NULL) {
248 papiAttributeListGetString(op, NULL, "printer-uri", &tmp);
250 "printer-uri-supported", &tmp);
252 *uri = strdup(tmp);
263 char *uri = name;
271 uri = buf;
273 _default_destination(svc, &uri);
276 papiAttributeListAddString(op, PAPI_ATTR_EXCL, "printer-uri", uri);
278 /* save the printer-uri's path to be used by http POST request */
279 if ((uri_from_string(uri, &tmp) == 0) && (tmp != NULL)) {
381 /* if we have don't have a POST path, use the service uri path */
382 if ((svc->post == NULL) && (svc->uri->path))
383 svc->post = strdup(svc->uri->path);
467 char *uri = svc->post;
478 snprintf(line, sizeof (line), "POST:%s", uri);
486 "uri=\"%s\", response=\"%s\"", user, realm, nonce, uri,