libpurple/protocols/facebook/http.h

branch
facebook
changeset 37354
14857ad5b6b7
parent 37347
34d43f8c10d1
child 37415
a06ade737f26
equal deleted inserted replaced
37353:97bddd687cf8 37354:14857ad5b6b7
272 void 272 void
273 fb_http_params_set_strf(FbHttpParams *params, const gchar *name, 273 fb_http_params_set_strf(FbHttpParams *params, const gchar *name,
274 const gchar *format, ...) 274 const gchar *format, ...)
275 G_GNUC_PRINTF(3, 4); 275 G_GNUC_PRINTF(3, 4);
276 276
277 /**
278 * fb_http_urlcmp:
279 * @url1: The first URL.
280 * @url2: The second URL.
281 * @protocol: #TRUE to match the protocols, otherwise #FALSE.
282 *
283 * Compares two URLs. This is more reliable than just comparing two URL
284 * strings, as it avoids casing in some areas, while not in others. It
285 * can also, optionally, ignore the matching of the URL protocol.
286 *
287 * Returns: #TRUE if the URLs match, otherwise #FALSE.
288 */
289 gboolean
290 fb_http_urlcmp(const gchar *url1, const gchar *url2, gboolean protocol);
291
277 #endif /* _FACEBOOK_HTTP_H_ */ 292 #endif /* _FACEBOOK_HTTP_H_ */

mercurial