// registration.h // Autor: Allen Porter // // Manages registration of bonjour services, a thin wrapper around the // APIs exposed by dns_sd.h. #ifndef __BTUNNEL_BROWSE_H__ #define __BTUNNEL_BROWSE_H__ #include #include #include namespace btunnel { class Service; // Returns a vector of registered services of the specified type, such as // "_daap._tcp". The caller is responsible for freeing all of the returned // Service objects. void BrowseService(const std::string& service_type, std::vector* services); } // namespace btunnel #endif // __BTUNNEL_BROWSE_H__