Lines Matching refs:request

50 					papi_attribute_t **request,
55 * protocol request handlers are inserted below. The handler must be
86 default_handler(papi_service_t svc, papi_attribute_t **request,
178 ipp_operation_handler(papi_attribute_t **request, papi_attribute_t ***response)
186 /* get the operation from the request */
187 status = papiAttributeListGetInteger(request, NULL,
191 "no operation specified in request");
214 status = papiAttributeListGetCollection(request, NULL,
302 ipp_operations_supported(papi_attribute_t ***list, papi_attribute_t **request)
306 (void) papiAttributeListGetCollection(request, NULL,
326 ipp_initialize_response(papi_attribute_t **request,
332 if ((request == NULL) || (response == NULL))
342 (void) papiAttributeListGetInteger(request, NULL, "version-major", &i);
345 (void) papiAttributeListGetInteger(request, NULL, "version-minor", &i);
349 (void) papiAttributeListGetInteger(request, NULL, "request-id", &i);
351 "request-id", i);
420 print_service_connect(papi_service_t *svc, papi_attribute_t **request,
430 /* Get the operational attributes group from the request */
431 (void) papiAttributeListGetCollection(request, NULL,
435 (void) papiAttributeListGetString(request, NULL, "default-user", &user);
440 (void) papiAttributeListGetString(request, NULL,
445 (void) papiAttributeListGetInteger(request, NULL, "uri-port", &port);
469 (void) papiAttributeListGetInteger(request, NULL,
479 ipp_process_request(papi_attribute_t **request, papi_attribute_t ***response,
484 ipp_initialize_response(request, response);
488 papiAttributeListPrint(stderr, request, " %d ", getpid());
492 /* verify that the request is "well-formed" */
493 if ((result = ipp_validate_request(request, response)) == PAPI_OK) {
497 result = print_service_connect(&svc, request, response);
498 handler = ipp_operation_handler(request, response);
500 /* process the request */
502 result = (handler)(svc, request, response, iread, fd);
511 massage_response(request, *response);