summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:19:36 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-19 09:19:36 +0800
commit0769eaf9f67be2d200e976d74f0fa8d6e82c7c24 (patch)
treeb12e7c0edaed59c18e67ece2796a93278a2f5b11
parent3ffb601708ca9fe26339d492b057770b3f329e76 (diff)
downloadpttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar.gz
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar.bz2
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar.lz
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar.xz
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.tar.zst
pttbbs-0769eaf9f67be2d200e976d74f0fa8d6e82c7c24.zip
pttpi error code
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@866 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/pttpi/include/pierr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pttbbs/pttpi/include/pierr.h b/pttbbs/pttpi/include/pierr.h
new file mode 100644
index 00000000..da462a36
--- /dev/null
+++ b/pttbbs/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