Mercurial > pidgin
comparison libpurple/protocols/gg/search.h @ 15822:32c366eeeb99
sed -ie 's/gaim/purple/g'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 07:01:17 +0000 |
parents | 5fe8042783c1 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
15821:84b0f9b23ede | 15822:32c366eeeb99 |
---|---|
1 /** | 1 /** |
2 * @file search.h | 2 * @file search.h |
3 * | 3 * |
4 * gaim | 4 * purple |
5 * | 5 * |
6 * Copyright (C) 2005 Bartosz Oler <bartosz@bzimage.us> | 6 * Copyright (C) 2005 Bartosz Oler <bartosz@bzimage.us> |
7 * | 7 * |
8 * This program is free software; you can redistribute it and/or modify | 8 * This program is free software; you can redistribute it and/or modify |
9 * it under the terms of the GNU General Public License as published by | 9 * it under the terms of the GNU General Public License as published by |
19 * along with this program; if not, write to the Free Software | 19 * along with this program; if not, write to the Free Software |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 */ | 21 */ |
22 | 22 |
23 | 23 |
24 #ifndef _GAIM_GG_SEARCH_H | 24 #ifndef _PURPLE_GG_SEARCH_H |
25 #define _GAIM_GG_SEARCH_H | 25 #define _PURPLE_GG_SEARCH_H |
26 | 26 |
27 #include "connection.h" | 27 #include "connection.h" |
28 | 28 |
29 #include <libgadu.h> | 29 #include <libgadu.h> |
30 #include "gg.h" | 30 #include "gg.h" |
125 ggp_search_destroy(GGPSearches *searches); | 125 ggp_search_destroy(GGPSearches *searches); |
126 | 126 |
127 /** | 127 /** |
128 * Initiate a search in the public directory. | 128 * Initiate a search in the public directory. |
129 * | 129 * |
130 * @param gc GaimConnection. | 130 * @param gc PurpleConnection. |
131 * @param form Filled in GGPSearchForm. | 131 * @param form Filled in GGPSearchForm. |
132 * | 132 * |
133 * @return Sequence number of a search or 0 if an error occured. | 133 * @return Sequence number of a search or 0 if an error occured. |
134 */ | 134 */ |
135 guint32 | 135 guint32 |
136 ggp_search_start(GaimConnection *gc, GGPSearchForm *form); | 136 ggp_search_start(PurpleConnection *gc, GGPSearchForm *form); |
137 | 137 |
138 /* | 138 /* |
139 * Return converted to the UTF-8 value of the specified field. | 139 * Return converted to the UTF-8 value of the specified field. |
140 * | 140 * |
141 * @param res Public directory look-up result. | 141 * @param res Public directory look-up result. |
146 */ | 146 */ |
147 char * | 147 char * |
148 ggp_search_get_result(gg_pubdir50_t res, int num, const char *field); | 148 ggp_search_get_result(gg_pubdir50_t res, int num, const char *field); |
149 | 149 |
150 | 150 |
151 #endif /* _GAIM_GG_SEARCH_H */ | 151 #endif /* _PURPLE_GG_SEARCH_H */ |
152 | 152 |
153 /* vim: set ts=8 sts=0 sw=8 noet: */ | 153 /* vim: set ts=8 sts=0 sw=8 noet: */ |