diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 09:19:36 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-19 09:19:36 +0800 |
commit | bc0a07494d4596a7076b233cd1945306c9838c1a (patch) | |
tree | d544ced6bedf088da835d677676d127532d18529 /pttpi/include | |
parent | ddb92d02a7e7a542047595519b6ad9e600751d69 (diff) | |
download | pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar.gz pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar.bz2 pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar.lz pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar.xz pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.tar.zst pttbbs-bc0a07494d4596a7076b233cd1945306c9838c1a.zip |
pttpi error code
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/include')
-rw-r--r-- | pttpi/include/pierr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pttpi/include/pierr.h b/pttpi/include/pierr.h new file mode 100644 index 00000000..da462a36 --- /dev/null +++ b/pttpi/include/pierr.h @@ -0,0 +1,9 @@ +#ifndef _PIERR_H_ +#define _PIERR_H_ + +#define PIERR_OK (int32)0 /* no error */ +#define PIERR_INT (int32)1 /* internal error (ex: syscall failure) */ +#define PIERR_NOBRD (int32)2 /* no such board or permission denied */ +#define PIERR_NOMORE (int32)3 /* no more data */ +#define PIERR_NOTCLASS (int32)4 /* this bid is NOT class */ +#endif |