diff --git a/common/util.h b/common/util.h index fb0ba1f87..636f9daba 100644 --- a/common/util.h +++ b/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