added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / devs / afs / error.h
blob807acf8e60c0536cde7b134da4df80cd1a6ebbab
1 #ifndef ERROR_H
2 #define ERROR_H
4 /*
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
8 /*
9 * -date------ -name------------------- -description-----------------------------
10 * 02-jan-2008 [Tomasz Wiszkowski] added disk check option for broken disks
14 #include "os.h"
16 enum {
17 ERR_NONE,
18 ERR_IOPORT,
19 ERR_DEVICE,
20 ERR_DOSENTRY,
21 ERR_DISKNOTVALID,
22 ERR_WRONG_DATA_BLOCK,
23 ERR_CHECKSUM, // block errors
24 ERR_MISSING_BITMAP_BLOCKS,
25 ERR_BLOCKTYPE,
26 ERR_READWRITE,
27 ERR_POSSIBLY_NOT_AFS,
28 ERR_BLOCK_USED_TWICE,
29 ERR_BLOCK_OUTSIDE_RANGE,
30 ERR_DATA_LOSS_POSSIBLE,
31 ERR_ALREADY_PRINTED,
32 ERR_UNKNOWN
35 void showText(struct AFSBase *, char *, ...);
36 LONG showError(struct AFSBase *, ULONG, ...);
37 LONG showRetriableError(struct AFSBase *, TEXT *, ...);
39 #endif