mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
add util_addrChange
This commit is contained in:
parent
ef828a0bdf
commit
f5c43f3dfc
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include "mempool.h"
|
#include "mempool.h"
|
||||||
#include "vtabmgr.h"
|
#include "vtabmgr.h"
|
||||||
|
#include "comms.h"
|
||||||
|
|
||||||
#define LETTER_NONE '\0'
|
#define LETTER_NONE '\0'
|
||||||
|
|
||||||
|
@ -133,6 +134,7 @@ typedef struct UtilVtable {
|
||||||
XP_U16 turn, XP_Bool turnLost );
|
XP_U16 turn, XP_Bool turnLost );
|
||||||
#ifdef BEYOND_IR
|
#ifdef BEYOND_IR
|
||||||
void (*m_util_listenPortChange)( XW_UtilCtxt* uc, XP_U16 listenPort );
|
void (*m_util_listenPortChange)( XW_UtilCtxt* uc, XP_U16 listenPort );
|
||||||
|
void (*m_util_addrChange)( XW_UtilCtxt* uc, const CommsAddrRec* aAddr );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
|
@ -212,6 +214,8 @@ struct XW_UtilCtxt {
|
||||||
#ifdef BEYOND_IR
|
#ifdef BEYOND_IR
|
||||||
#define util_listenPortChange( uc, port ) \
|
#define util_listenPortChange( uc, port ) \
|
||||||
(uc)->vtable->m_util_listenPortChange((uc), (port))
|
(uc)->vtable->m_util_listenPortChange((uc), (port))
|
||||||
|
#define util_addrChange( uc, addr ) \
|
||||||
|
(uc)->vtable->m_util_addrChange((uc), (addr))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
|
|
Loading…
Reference in a new issue