From f5c43f3dfc09a281d161e40e94f7a0af67b6725c Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 9 Mar 2005 15:14:10 +0000 Subject: [PATCH] add util_addrChange --- xwords4/common/util.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xwords4/common/util.h b/xwords4/common/util.h index fb0ba1f87..636f9daba 100644 --- a/xwords4/common/util.h +++ b/xwords4/common/util.h @@ -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