summaryrefslogtreecommitdiffstats
path: root/pttpi/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-15 15:30:22 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-15 15:30:22 +0800
commit0b8de94f2b29a383d6b42260a57d249a3ba88403 (patch)
tree8cb23ec0ab60185274a40bddd987192ddedc59f2 /pttpi/include
parent2428ed917d4a0c82c956c355de60b6dff1afca23 (diff)
downloadpttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.gz
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.bz2
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.lz
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.xz
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.tar.zst
pttbbs-0b8de94f2b29a383d6b42260a57d249a3ba88403.zip
no longer maintained
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/not-maintained@1595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/include')
-rw-r--r--pttpi/include/pierr.h9
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