snj doesn't like my accent, so use proper English month names.
[netbsd-mini2440.git] / dist / pdisk / errors.h
blobb188e8a176a90cc78e54db15a81337e7cac06d5d
1 //
2 // errors.h - error & help routines
3 //
4 // Written by Eryk Vershen
5 //
7 /*
8 * Copyright 1996 by Apple Computer, Inc.
9 * All Rights Reserved
11 * Permission to use, copy, modify, and distribute this software and
12 * its documentation for any purpose and without fee is hereby granted,
13 * provided that the above copyright notice appears in all copies and
14 * that both the copyright notice and this permission notice appear in
15 * supporting documentation.
17 * APPLE COMPUTER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
18 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
19 * FOR A PARTICULAR PURPOSE.
21 * IN NO EVENT SHALL APPLE COMPUTER BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
22 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
23 * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
24 * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
25 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
28 #ifndef __errors__
29 #define __errors__
33 // Defines
38 // Types
43 // Global Constants
48 // Global Variables
50 extern int hflag;
54 // Forward declarations
56 void do_help(void);
57 void init_program_name(char **argv);
58 void error(int value, const char *fmt, ...);
59 void fatal(int value, const char *fmt, ...);
60 void usage(const char *kind);
62 #endif /* __errors__ */