Mercurial > pidgin.yaz
comparison src/protocols/rendezvous/mdns.h @ 8838:518455386538
[gaim-migrate @ 9604]
-Fix the compile error in perl that was my fault
-Rename a network.c function and change it's signature (is that work
applicable in c?)
-Make rendezvous crash when trying to sign on
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 28 Apr 2004 03:16:40 +0000 |
parents | beb7be215db3 |
children | 913ec44675c3 |
comparison
equal
deleted
inserted
replaced
8837:25206a0fb4e4 | 8838:518455386538 |
---|---|
164 * @return 0 if successful. | 164 * @return 0 if successful. |
165 */ | 165 */ |
166 int mdns_query(int fd, const char *domain, unsigned short type); | 166 int mdns_query(int fd, const char *domain, unsigned short type); |
167 | 167 |
168 int mdns_send_rr(int fd, ResourceRecord *rr); | 168 int mdns_send_rr(int fd, ResourceRecord *rr); |
169 int mdns_advertise_a(int fd, const char *name, unsigned char *ip); | 169 int mdns_advertise_a(int fd, const char *name, const unsigned char *ip); |
170 int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength); | 170 int mdns_advertise_null(int fd, const char *name, const char *data, unsigned short rdlength); |
171 int mdns_advertise_ptr(int fd, const char *name, const char *domain); | 171 int mdns_advertise_ptr(int fd, const char *name, const char *domain); |
172 int mdns_advertise_txt(int fd, const char *name, const GSList *txt); | 172 int mdns_advertise_txt(int fd, const char *name, const GSList *txt); |
173 int mdns_advertise_aaaa(int fd, const char *name, unsigned char *ip); | 173 int mdns_advertise_aaaa(int fd, const char *name, const unsigned char *ip); |
174 int mdns_advertise_srv(int fd, const char *name, unsigned short port, const char *target); | 174 int mdns_advertise_srv(int fd, const char *name, unsigned short port, const char *target); |
175 | 175 |
176 /** | 176 /** |
177 * Read a UDP packet from the given file descriptor and parse it | 177 * Read a UDP packet from the given file descriptor and parse it |
178 * into a DNSPacket. | 178 * into a DNSPacket. |