Wed, 12 Nov 2008 05:14:03 +0000
merge of '77693555855fe9cd3215414f79964dba346cc5fa'
and '19a87e98e5857ad0289f2c760d460f7f1dbbb42d'
| 11477 | 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" | |
|
11823
22b98c118b71
[gaim-migrate @ 14114]
Mark Doliner <markdoliner@pidgin.im>
parents:
11539
diff
changeset
|
32 | #include "internal.h" |
| 11477 | 33 | #include "jabber.h" |
| 34 | ||
|
11823
22b98c118b71
[gaim-migrate @ 14114]
Mark Doliner <markdoliner@pidgin.im>
parents:
11539
diff
changeset
|
35 | #define BONJOUR_GROUP_NAME _("Bonjour") |
| 11477 | 36 | #define BONJOUR_PROTOCOL_NAME "bonjour" |
| 37 | #define BONJOUR_ICON_NAME "bonjour" | |
| 38 | ||
|
11496
0f61069a4a3f
[gaim-migrate @ 13740]
Mark Doliner <markdoliner@pidgin.im>
parents:
11477
diff
changeset
|
39 | #define BONJOUR_STATUS_ID_OFFLINE "offline" |
|
0f61069a4a3f
[gaim-migrate @ 13740]
Mark Doliner <markdoliner@pidgin.im>
parents:
11477
diff
changeset
|
40 | #define BONJOUR_STATUS_ID_AVAILABLE "available" |
|
0f61069a4a3f
[gaim-migrate @ 13740]
Mark Doliner <markdoliner@pidgin.im>
parents:
11477
diff
changeset
|
41 | #define BONJOUR_STATUS_ID_AWAY "away" |
| 11477 | 42 | |
| 13971 | 43 | #define BONJOUR_DEFAULT_PORT_INT 5298 |
| 44 | ||
|
11539
fbabe3f89777
[gaim-migrate @ 13794]
Mark Doliner <markdoliner@pidgin.im>
parents:
11496
diff
changeset
|
45 | typedef struct _BonjourData |
|
fbabe3f89777
[gaim-migrate @ 13794]
Mark Doliner <markdoliner@pidgin.im>
parents:
11496
diff
changeset
|
46 | { |
|
fbabe3f89777
[gaim-migrate @ 13794]
Mark Doliner <markdoliner@pidgin.im>
parents:
11496
diff
changeset
|
47 | BonjourDnsSd *dns_sd_data; |
|
fbabe3f89777
[gaim-migrate @ 13794]
Mark Doliner <markdoliner@pidgin.im>
parents:
11496
diff
changeset
|
48 | BonjourJabber *jabber_data; |
|
fbabe3f89777
[gaim-migrate @ 13794]
Mark Doliner <markdoliner@pidgin.im>
parents:
11496
diff
changeset
|
49 | } BonjourData; |
| 11477 | 50 | |
| 51 | #endif /* _BONJOUR_H_ */ |