/***************************************************************************
 * LPRng - An Extended Print Spooler System
 *
 * Copyright 1988-2003, Patrick Powell, San Diego, CA
 *     papowell@lprng.com
 * See LICENSE for conditions of use.
 * $Id: checkpc.h,v 1.74 2004/09/24 20:19:59 papowell Exp $
 ***************************************************************************/



#ifndef _CHECKPC_H_
#define _CHECKPC_H_ 1

/* PROTOTYPES */
int main( int argc, char *argv[], char *envp[] );
void mkdir_path( char *path );
void Scan_printer(struct line_list *spooldirs);
void Check_executable_filter( char *id, char *filter_str );
void Make_write_file( char *file, char *printer );
void usage(void);
int getage( char *age );
int getk( char *age );
int Check_file( char  *path, int fix, int age, int rmflag );
int Check_read_file( char  *path, int fix, int perms, int owner );
int Fix_create_dir( char  *path, struct stat *statb );
int Fix_owner( char *path );
int Fix_perms( char *path, int perms );
int Check_spool_dir( char *path, int owner );
void Test_port(int ruid, int euid, char *serial_line );
void Fix_clean( char *s, int no );
int Check_path_list( char *plist, int allow_missing );

#endif
