1*2264Sjacobs /*
2*2264Sjacobs  * CDDL HEADER START
3*2264Sjacobs  *
4*2264Sjacobs  * The contents of this file are subject to the terms of the
5*2264Sjacobs  * Common Development and Distribution License (the "License").
6*2264Sjacobs  * You may not use this file except in compliance with the License.
7*2264Sjacobs  *
8*2264Sjacobs  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2264Sjacobs  * or http://www.opensolaris.org/os/licensing.
10*2264Sjacobs  * See the License for the specific language governing permissions
11*2264Sjacobs  * and limitations under the License.
12*2264Sjacobs  *
13*2264Sjacobs  * When distributing Covered Code, include this CDDL HEADER in each
14*2264Sjacobs  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2264Sjacobs  * If applicable, add the following below this CDDL HEADER, with the
16*2264Sjacobs  * fields enclosed by brackets "[]" replaced with your own identifying
17*2264Sjacobs  * information: Portions Copyright [yyyy] [name of copyright owner]
18*2264Sjacobs  *
19*2264Sjacobs  * CDDL HEADER END
20*2264Sjacobs  */
21*2264Sjacobs 
22*2264Sjacobs /*
23*2264Sjacobs  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*2264Sjacobs  * Use is subject to license terms.
25*2264Sjacobs  *
26*2264Sjacobs  */
27*2264Sjacobs 
28*2264Sjacobs #ifndef _BSD_SYSV_COMMON_H
29*2264Sjacobs #define	_BSD_SYSV_COMMON_H
30*2264Sjacobs 
31*2264Sjacobs /* $Id: common.h 162 2006-05-08 14:17:44Z njacobs $ */
32*2264Sjacobs 
33*2264Sjacobs #pragma ident	"%Z%%M%	%I%	%E% SMI"
34*2264Sjacobs 
35*2264Sjacobs #include <papi.h>
36*2264Sjacobs 
37*2264Sjacobs #include <config-site.h>
38*2264Sjacobs 
39*2264Sjacobs #ifdef	__cplusplus
40*2264Sjacobs extern "C" {
41*2264Sjacobs #endif
42*2264Sjacobs 
43*2264Sjacobs extern char **strsplit(char *string, const char *seperators);
44*2264Sjacobs extern char *verbose_papi_message(papi_service_t svc, papi_status_t status);
45*2264Sjacobs 
46*2264Sjacobs extern int berkeley_cancel_request(papi_service_t svc, FILE *fp, char *dest,
47*2264Sjacobs 		int ac, char *av[]);
48*2264Sjacobs 
49*2264Sjacobs extern int get_printer_id(char *name, char **printer, int *id);
50*2264Sjacobs 
51*2264Sjacobs extern int berkeley_queue_report(papi_service_t svc, FILE *fp, char *dest,
52*2264Sjacobs 		int fmt, int ac, char *av[]);
53*2264Sjacobs 
54*2264Sjacobs extern papi_status_t jobSubmitSTDIN(papi_service_t svc, char *printer,
55*2264Sjacobs 				papi_attribute_t **list, papi_job_t *job);
56*2264Sjacobs 
57*2264Sjacobs extern char **interest_list(papi_service_t svc);
58*2264Sjacobs extern char *localhostname();
59*2264Sjacobs 
60*2264Sjacobs extern int cli_auth_callback(papi_service_t svc, void *app_data);
61*2264Sjacobs 
62*2264Sjacobs #ifdef	__cplusplus
63*2264Sjacobs }
64*2264Sjacobs #endif
65*2264Sjacobs 
66*2264Sjacobs #endif /* _BSD_SYSV_COMMON_H */
67