xref: /titanic_52/usr/src/man/man3lib/libpapi.3lib (revision 6a5408e613dc0b372f722907d6c0b18e99c182dd)
te
Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libpapi 3LIB "18 Dec 2006" "SunOS 5.11" "Interface Libraries"
NAME
libpapi - Free Standards Group Open Printing API (PAPI) library functions
SYNOPSIS

cc [ flag.\|.\|. ] file.\|.\|. -lpapi [ library.\|.\|. ] 
#include <papi.h>
DESCRIPTION

Functions in this library provide an interface for interaction with print services as described in v1.0 of the Free Standards Group (FSG) Open Printing API (PAPI).

This particular implementation of the PAPI includes naming support as described in the printers.conf(4) and printers(4) manual pages. It also supplies support for interaction with local LP services, remote LPD services, and remote IPP services through the use of loadable modules that export the same interface. These modules should not be linked with directly, but can be used directly at runtime through the use of LD_PRELOAD for debugging purposes.

INTERFACES

The shared object libpapi.so.0 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

"Attribute"
papiAttributeListAddBooleanpapiAttributeListAddCollection
papiAttributeListAddDatetimepapiAttributeListAddInteger
papiAttributeListAddMetadatapapiAttributeListAddRange
papiAttributeListAddResolutionpapiAttributeListAddString
papiAttributeListAddValuepapiAttributeListDelete
papiAttributeListFindpapiAttributeListFree
papiAttributeListFromStringpapiAttributeListGetBoolean
papiAttributeListGetCollectionpapiAttributeListGetDatetime
papiAttributeListGetIntegerpapiAttributeListGetMetadata
papiAttributeListGetNextpapiAttributeListGetRange
papiAttributeListGetResolutionpapiAttributeListGetString
papiAttributeListGetValuepapiAttributeListToString
"Service"
papiServiceCreatepapiServiceDestroy
papiServiceGetAppDatapapiServiceGetAttributeList
papiServiceGetEncryptionpapiServiceGetPassword
papiServiceGetServiceNamepapiServiceGetStatusMessage
papiServiceGetUserNamepapiServiceSetAppData
papiServiceSetAuthCBpapiServiceSetEncryption
papiServiceSetPasswordpapiServiceSetUserName
"Printer"
papiPrinterAddpapiPrinterDisable
papiPrinterEnablepapiPrinterFree
papiPrinterGetAttributeListpapiPrinterListFree
papiPrinterListJobspapiPrinterModify
papiPrinterPausepapiPrinterPurgeJobs
papiPrinterQuerypapiPrinterRemove
papiPrinterResumepapiPrintersList
"Job"
papiJobCancelpapiJobFree
papiJobGetAttributeListpapiJobGetId
papiJobGetJobTicketpapiJobGetPrinterName
papiJobHoldpapiJobListFree
papiJobModifypapiJobMove
papiJobPromotepapiJobQuery
papiJobReleasepapiJobRestart
papiJobStreamClosepapiJobStreamOpen
papiJobStreamWritepapiJobSubmit
papiJobSubmitByReferencepapiJobValidate
"Miscellaneous"
papiLibrarySupportedCallpapiLibrarySupportedCalls
papiStatusString
FILES

/usr/lib/libpapi.so.0

shared object

/usr/lib/libpapi-common.so.0

private shared code

/usr/lib/print/psm-lpd.so

private rfc1179 support

/usr/lib/print/psm-lpsched.so

private LP support

/usr/lib/print/psm-ipp.so

private IPP support

/usr/lib/libipp-core.so

private IPP marshalling support

/usr/lib/libipp-listener.so

private IPP operations support

/usr/lip/libhttp-core.so

private HTTP support

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityVolatile
MT-LevelSafe
SEE ALSO

Intro(3), printers(4), printers.conf(4), attributes(5)