WAC Bonjour

Includes:
"Common.h"
"WACServerAPI.h"

Introduction

This header contains function prototypes called by the WAC engine. These functions abstract the interaction with mDNSResponder.



Functions

RegisterWACBonjourService

This function will register the _mfi-config service with mDNSResponder.

RemoveWACBonjourService

This function will remove the _mfi-config service from mDNSResponder.


RegisterWACBonjourService


This function will register the _mfi-config service with mDNSResponder.

OSStatus RegisterWACBonjourService(
    WACContext_t *const inContext,
    uint8_t inSeed );  
Parameters
inContext

The relevant WACContext_t struct that contains the parameters needed to register the bonjour service.

seed

The seed value the bonjour TXT record should advertise.

Return Value

kNoErr if successful or an error code indicating failure.


RemoveWACBonjourService


This function will remove the _mfi-config service from mDNSResponder.

OSStatus RemoveWACBonjourService(
    WACContext_t *const inContext );  
Parameters
inContext

The relevant WACContext_t struct that contains the parameters needed to remove the bonjour service.

Return Value

kNoErr if successful or an error code indicating failure.