add util_addrChange

This commit is contained in:
ehouse 2005-03-09 15:14:10 +00:00
parent ef828a0bdf
commit f5c43f3dfc

View file

@ -27,6 +27,7 @@
#include "board.h"
#include "mempool.h"
#include "vtabmgr.h"
#include "comms.h"
#define LETTER_NONE '\0'
@ -133,6 +134,7 @@ typedef struct UtilVtable {
XP_U16 turn, XP_Bool turnLost );
#ifdef BEYOND_IR
void (*m_util_listenPortChange)( XW_UtilCtxt* uc, XP_U16 listenPort );
void (*m_util_addrChange)( XW_UtilCtxt* uc, const CommsAddrRec* aAddr );
#endif
#ifdef XWFEATURE_SEARCHLIMIT
@ -212,6 +214,8 @@ struct XW_UtilCtxt {
#ifdef BEYOND_IR
#define util_listenPortChange( uc, port ) \
(uc)->vtable->m_util_listenPortChange((uc), (port))
#define util_addrChange( uc, addr ) \
(uc)->vtable->m_util_addrChange((uc), (addr))
#endif
#ifdef XWFEATURE_SEARCHLIMIT