comparison src/protocols/bonjour/bonjour.h @ 11477:36f575351c49

[gaim-migrate @ 13719] Commit the Bonjour code from oldstatus to HEAD. It hasn't been updated for the new status code yet. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 09 Sep 2005 12:34:27 +0000
parents
children 3f038da50a18
comparison
equal deleted inserted replaced
11476:5d3f8d9e8f92 11477:36f575351c49
1 /**
2 * @file bonjour.h The Gaim interface to mDNS and peer to peer Jabber.
3 *
4 * gaim
5 *
6 * Gaim is the legal property of its developers, whose names are too numerous
7 * to list here. Please refer to the COPYRIGHT file distributed with this
8 * source distribution.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 *
24 */
25
26 #ifndef _BONJOUR_H_
27 #define _BONJOUR_H_
28
29 #include <howl.h>
30
31 #include "dns_sd.h"
32 #include "jabber.h"
33
34 #define BONJOUR_GROUP_NAME "Bonjour"
35 #define BONJOUR_PROTOCOL_NAME "bonjour"
36 #define BONJOUR_ICON_NAME "bonjour"
37
38 #define BONJOUR_STATE_AWAY (0x02 | UC_UNAVAILABLE)
39 #define BONJOUR_STATE_AVAILABLE (0x04)
40 #define BONJOUR_STATE_DND (0x10 | UC_UNAVAILABLE)
41 #define BONJOUR_STATE_ERROR (0x20 | UC_UNAVAILABLE)
42
43 typedef struct _bonjour_data{
44 BonjourDnsSd* dns_sd_data;
45 BonjourJabber* jabber_data;
46 }BonjourData;
47
48 #endif /* _BONJOUR_H_ */