Use GSList functions instead of manual iterations
[pidgin-git.git] / libpurple / protocols / bonjour / mdns_types.h
blob155fd93566a00f3ceab062deeb4b6ad22237df79
1 /*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU Library General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
17 #ifndef PURPLE_BONJOUR_MDNS_TYPES_H
18 #define PURPLE_BONJOUR_MDNS_TYPES_H
20 #include <glib.h>
22 #include <purple.h>
24 #define LINK_LOCAL_RECORD_NAME "_presence._tcp."
26 /**
27 * Data to be used by the dns-sd connection.
29 typedef struct {
30 gpointer mdns_impl_data;
31 PurpleAccount *account;
32 gchar *first;
33 gchar *last;
34 gint port_p2pj;
35 gchar *phsh;
36 gchar *status;
37 gchar *vc;
38 gchar *msg;
39 } BonjourDnsSd;
41 typedef enum {
42 PUBLISH_START,
43 PUBLISH_UPDATE
44 } PublishType;
46 #endif /* PURPLE_BONJOUR_MDNS_TYPES_H */