355b4669e025ff377602b6fc7caaf30dbc218371jacobs * CDDL HEADER START
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * The contents of this file are subject to the terms of the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * Common Development and Distribution License (the "License").
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * You may not use this file except in compliance with the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * See the License for the specific language governing permissions
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * and limitations under the License.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * When distributing Covered Code, include this CDDL HEADER in each
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * If applicable, add the following below this CDDL HEADER, with the
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * fields enclosed by brackets "[]" replaced with your own identifying
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * information: Portions Copyright [yyyy] [name of copyright owner]
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * CDDL HEADER END
223f6c28404c8d330c123e98936160b8da9a26b2jacobs * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * Use is subject to license terms.
355b4669e025ff377602b6fc7caaf30dbc218371jacobs/* $Id: papi_impl.h 161 2006-05-03 04:32:59Z njacobs $ */
355b4669e025ff377602b6fc7caaf30dbc218371jacobs#pragma ident "%Z%%M% %I% %E% SMI"
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern "C" {
355b4669e025ff377602b6fc7caaf30dbc218371jacobs * Implementation specific types/prototypes/definitions follow
355b4669e025ff377602b6fc7caaf30dbc218371jacobstypedef enum {
355b4669e025ff377602b6fc7caaf30dbc218371jacobstypedef struct {
355b4669e025ff377602b6fc7caaf30dbc218371jacobstypedef struct {
355b4669e025ff377602b6fc7caaf30dbc218371jacobs/* IPP glue interfaces */
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern ssize_t ipp_request_read(void *fd, void *buffer, size_t length);
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern ssize_t ipp_request_write(void *fd, void *buffer, size_t length);
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern papi_status_t ipp_send_request_with_file(service_t *svc,
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern papi_status_t ipp_send_initial_request_block(service_t *svc,
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern void ipp_initialize_operational_attributes(service_t *svc,
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern papi_status_t ipp_to_papi_status(uint16_t status);
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern papi_status_t http_to_papi_status(http_status_t status);
355b4669e025ff377602b6fc7caaf30dbc218371jacobs/* service related interfaces */
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern void detailed_error(service_t *svc, char *fmt, ...);
355b4669e025ff377602b6fc7caaf30dbc218371jacobsextern papi_status_t service_connect(service_t *svc, char *service_name);
355b4669e025ff377602b6fc7caaf30dbc218371jacobs#endif /* _PAPI_IMPL_H */