Mercurial > pidgin
diff src/protocols/rendezvous/mdns.h @ 8636:005c96dab551
[gaim-migrate @ 9388]
I finished all my overflow checking and what not. If anyone else
wants to look over it feel free... Null resource records (buddy
icons) should be getting sent now, too. I'm not really sure why
I'm not showing up in my iChat buddy list. Gaim rendezvous people
show up in gaim rendezvous buddy lists, I think.
Eh, I still have to deal with caching and handling queries.
And then messaging.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 12 Apr 2004 01:17:10 +0000 |
| parents | bcb09cc97b63 |
| children | 92cbf9713795 |
line wrap: on
line diff
--- a/src/protocols/rendezvous/mdns.h Mon Apr 12 01:11:45 2004 +0000 +++ b/src/protocols/rendezvous/mdns.h Mon Apr 12 01:17:10 2004 +0000 @@ -61,6 +61,7 @@ #define RENDEZVOUS_RRTYPE_PTR 12 #define RENDEZVOUS_RRTYPE_TXT 16 #define RENDEZVOUS_RRTYPE_SRV 33 +#define RENDEZVOUS_RRTYPE_ALL 255 /* * Express for Men's @@ -153,8 +154,9 @@ * be of the format "_presence._tcp.local" for example. * @return 0 if sucessful. */ -int mdns_query(int fd, const char *domain); +int mdns_query(int fd, const char *domain, unsigned short type); +int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength); int mdns_advertise_ptr(int fd, const char *name, const char *domain); int mdns_advertise_txt(int fd, const char *name, const GSList *txt); int mdns_advertise_srv(int fd, const char *name, unsigned short port, const char *target);
