19fe995a9Smrg/*
29fe995a9Smrg *
39fe995a9SmrgCopyright 1989, 1998  The Open Group
49fe995a9Smrg
59fe995a9SmrgPermission to use, copy, modify, distribute, and sell this software and its
69fe995a9Smrgdocumentation for any purpose is hereby granted without fee, provided that
79fe995a9Smrgthe above copyright notice appear in all copies and that both that
89fe995a9Smrgcopyright notice and this permission notice appear in supporting
99fe995a9Smrgdocumentation.
109fe995a9Smrg
119fe995a9SmrgThe above copyright notice and this permission notice shall be included in
129fe995a9Smrgall copies or substantial portions of the Software.
139fe995a9Smrg
149fe995a9SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
159fe995a9SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
169fe995a9SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
179fe995a9SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
189fe995a9SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
199fe995a9SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
209fe995a9Smrg
219fe995a9SmrgExcept as contained in this notice, the name of The Open Group shall not be
229fe995a9Smrgused in advertising or otherwise to promote the sale, use or other dealings
239fe995a9Smrgin this Software without prior written authorization from The Open Group.
249fe995a9Smrg * *
259fe995a9Smrg * Author:  Jim Fulton, MIT X Consortium
269fe995a9Smrg */
279fe995a9Smrg
289fe995a9Smrg#ifdef HAVE_CONFIG_H
299fe995a9Smrg# include "config.h"
309fe995a9Smrg#endif
319fe995a9Smrg
329fe995a9Smrg#include <stdio.h>
339fe995a9Smrg#include <X11/Xos.h>
349fe995a9Smrg#include <X11/ICE/ICElib.h>
359fe995a9Smrg#include <X11/ICE/ICEutil.h>
369fe995a9Smrg#include <X11/Xfuncs.h>
379fe995a9Smrg
389fe995a9Smrg#ifndef True
399fe995a9Smrgtypedef int Bool;
409fe995a9Smrg#define False 0
419fe995a9Smrg#define True 1
429fe995a9Smrg#endif
439fe995a9Smrg
449fe995a9Smrgextern const char *ProgramName;
459fe995a9Smrg
469fe995a9Smrg#include <stdlib.h>
479fe995a9Smrg
489fe995a9Smrgextern int auth_initialize ( char *authfilename );
499fe995a9Smrgextern int auth_finalize ( void );
50e8ac26b0Smrgextern int process_command ( const char *inputfilename, int lineno, int argc, const char **argv );
519fe995a9Smrgextern int print_help ( FILE *fp, const char *cmd );
529fe995a9Smrg
539fe995a9Smrgextern int verbose;
549fe995a9Smrgextern Bool ignore_locks;
559fe995a9Smrgextern Bool break_locks;
56