llib-llp revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
* 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]
*
* CDDL HEADER END
*/
/* LINTLIBRARY */
/* PROTOLIB1 */
/*
* Copyright (c) 1998 by Sun Microsystems, Inc.
* All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#include "errno.h"
#include "fcntl.h"
#include "stdio.h"
#include "dirent.h"
float val; /* value of number, scaled according to "sc" */
} SCALED;
char * shcmd; /* shell command used to perform the alert */
int Q; /* # requests queued to activate alert */
int W; /* alert is sent every "W" minutes */
} FALERT;
extern char * sys_errlist[];
int close_lpfile ( FILE * );
int chown_lppath ( char * path );
char * loadstring ( char * path );
char * sop_up_rest (int, char * endsop );
int addlist ( char *** , char * );
int addstring ( char ** , char * );
int appendlist ( char *** , char * );
int dellist ( char *** , char * );
int joinlist ( char *** , char ** );
int lenlist ( char ** );
int fdprintlist(int , char ** );
int searchlist ( char *, char ** );
int searchlist_with_terminfo ( char * , char ** );
char ** duplist ( char ** );
char ** getlist ( char * , char * , char * );
char ** dashos ( char * );
char ** wherelist ( char * , char ** );
char * sprintlist ( char ** );
char * search_cslist ( char * , char ** );
void freelist ( char ** );
void printlist_setup ( char * , char * , char * , char * );
void printlist_unsetup ( void );
void fdprintsdn ( int , SCALED );
void printsdn_setup ( char * , char * , char * );
void printsdn_unsetup ( void );
char * makepath ( char * , ... );
char * getspooldir ( void );
char * getrequestfile ( char * );
char * getprinterfile ( char * , char * );
char * getsystemfile ( char * , char * );
char * getclassfile ( char * );
char * getfilterfile ( char * );
char * getformfile ( char * , char * );
int cs_strcmp ( char * , char * );
int cs_strncmp ( char * , char * , int );
int syn_name ( char * );
int syn_text ( char * );
int syn_comment ( char * );
int syn_machine_name ( char * );
int syn_option ( char * );
int delalert ( char * , char * );
int tidbit ( char * , char * , ... );
void untidbit ( char * );
int _Access ( char * , int );
int _Chdir ( char * );
int _Chmod ( char * , int );
int _Chown ( char * , int , int );
int _Close ( int );
int _Creat ( char * , int );
int _Fcntl ( int , int , ... );
int _Link ( char * , char * );
int _Mknod ( char * , int , int );
int _Mkpipe ( char * , int , int );
int _Open ( char * , int , ... /* mode_t */ );
int _Rename ( char * , char * );
int _Symlink ( char * , char * );
int _Unlink ( char * );
int _Wait ( int * );
char * _Strdup ( const char * , const char * , int );
void _Free ( void * , const char * , int );
int isterminfo ( char * );
int isprinter ( char * );
int isrequest ( char * );
int isnumber ( char * );
char * getname ( void );
char * makestr ( char * , ... );
char * strip ( char * );
void sendmail ( char * , char * );
void (*lp_alloc_fail_handler)( void );