summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-02 21:15:30 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-02 21:15:30 +0800
commitcbaa24d062e1ecebc90fd8b671a1c68daa70664b (patch)
tree450ca077745908fdc553801afc6be0a20e1b5236 /include
parent947b76093a20c3f08f774bf8a4a03e7688b29927 (diff)
downloadpttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar.gz
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar.bz2
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar.lz
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar.xz
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.tar.zst
pttbbs-cbaa24d062e1ecebc90fd8b671a1c68daa70664b.zip
* refine chess framework IO routines
* don't write data to user socket when there is no opposite git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3124 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/chess.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/chess.h b/include/chess.h
index d9284110..8384e225 100644
--- a/include/chess.h
+++ b/include/chess.h
@@ -164,10 +164,9 @@ typedef enum {
int ChessTimeCountDown(ChessInfo* info, int who, int length);
void ChessStepMade(ChessInfo* info, int who);
-ChessStepType ChessStepReceive(ChessInfo* info, void* step);
-int ChessStepSendOpposite(ChessInfo* info, const void* step);
-void ChessStepBroadcast(ChessInfo* info, const void* step);
+ChessStepType ChessStepReceive(ChessInfo* info, void* step); /* should this be public? */
int ChessStepSend(ChessInfo* info, const void* step);
+int ChessMessageSend(ChessInfo* info, ChessStepType type);
void ChessHistoryAppend(ChessInfo* info, void* step);
const void* ChessHistoryRetrieve(ChessInfo* info, int n);