blob: ef669ec9292c70934e75a6b4ab4df8b059748d14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
struct mdns_window;
enum mdns_view {
MDNS_VIEW_DEFAULT = 0,
MDNS_VIEW_URL,
MDNS_VIEW_XEN,
};
typedef void (*mdns_callback)(struct mdns_window *mdns,
char *name, char *type,
char *host, int port, char *url);
struct mdns_window *mdns_create_window(int standalone, enum mdns_view view,
mdns_callback callback);
void mdns_show_window(struct mdns_window *mdns);
void mdns_destroy_window(struct mdns_window *mdns);
int mdns_view(struct mdns_window *mdns, enum mdns_view view);
int mdns_browse(struct mdns_window *mdns, int replace,
const char *service, const char *domain);
|