Platform Bonjour

Includes:
"Common.h"

Introduction

This header contains function prototypes called by the WAC engine that must be implemented by the platform. These functions are called when the platform needs to start mDNSResponder.



Functions

PlatformInitializemDNSResponder

This function is called by the WAC engine when WAC becomes dependant on mDNSResponder. This function must be implemented by the platform. If mDNSResponder is already running on your platform, still return kNoErr. Only return an error if mDNSResponder cannot be started.

PlatformMayStopmDNSResponder

This function is called by the WAC engine when mDNSResponder is no longer needed by WAC. This function must be implemented by the platform. If there are other processes on the platform using mDNSResponder at the time, it can remain running and return kNoErr.


PlatformInitializemDNSResponder


This function is called by the WAC engine when WAC becomes dependant on mDNSResponder. This function must be implemented by the platform. If mDNSResponder is already running on your platform, still return kNoErr. Only return an error if mDNSResponder cannot be started.

OSStatus PlatformInitializemDNSResponder(
    void );  
Return Value

kNoErr if successful or an error code indicating failure.


PlatformMayStopmDNSResponder


This function is called by the WAC engine when mDNSResponder is no longer needed by WAC. This function must be implemented by the platform. If there are other processes on the platform using mDNSResponder at the time, it can remain running and return kNoErr.

OSStatus PlatformMayStopmDNSResponder(
    void );  
Return Value

kNoErr if successful or an error code indicating failure.