summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-07-16 17:49:00 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-07-16 17:49:00 +0800
commit82c30d03d5a5fd8dec7034efb54b674a9f722519 (patch)
treea98077238a90494b7c08fbd4124eb4ab5e30e205 /include
parent4c374bf8707979e254ae9b68582288e6f52beb73 (diff)
downloadpttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar.gz
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar.bz2
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar.lz
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar.xz
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.tar.zst
pttbbs-82c30d03d5a5fd8dec7034efb54b674a9f722519.zip
* remove bid as claimed before.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4743 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/assess.h4
-rw-r--r--include/pttstruct.h18
2 files changed, 0 insertions, 22 deletions
diff --git a/include/assess.h b/include/assess.h
index f6963370..58be07be 100644
--- a/include/assess.h
+++ b/include/assess.h
@@ -1,6 +1,2 @@
-#define SALE_MAXVALUE 255
-
#define GOODPOST 1
#define BADPOST 2
-#define GOODSALE 3
-#define BADSALE 4
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 849be259..84f2d71c 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -15,24 +15,6 @@
// GCC pragma to prevent paddings
#define PACKSTRUCT __attribute__ ((packed))
-/* 競標資訊 */
-#define SALE_COMMENTED 0x1
-typedef struct bid_t {
- int high; /* 目前最高價 */
- int buyitnow; /* 直接購買價 */
- int usermax; /* 自動競標最高價 */
- int increment; /* 出價增額 */
- char userid[IDLEN + 1]; /* 最高出價者 */
- // 這裡有 padding?
- time4_t enddate; /* 結標日期 */
- char payby; /* 付款方式 */
- /* 1 cash 2 check or mail 4 wire 8 credit 16 postoffice */
- char flag; /* 屬性 (是否已評價) */
- char pad[2];
- int shipping; /* 運費 */
-} bid_t;
-// PACKSTRUCT bid_t;
-
/* 小雞的資料 */
typedef struct chicken_t { /* 128 bytes */
char name[20];