Changed the mapping of the not available state on MSN
[centerim.git] / libyahoo2 / yahoo_httplib.h
blobfd28ad48976b2052ea84dbb070de55aa529f045c
1 /*
2 * libyahoo2: yahoo_httplib.h
4 * Copyright (C) 2002-2004, Philip S Tellis <philip.tellis AT gmx.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef YAHOO_HTTPLIB_H
23 #define YAHOO_HTTPLIB_H
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 #include "yahoo2_types.h"
31 char *yahoo_urlencode(const char *instr);
32 char *yahoo_urldecode(const char *instr);
33 char *yahoo_xmldecode(const char *instr);
35 int yahoo_tcp_readline(char *ptr, int maxlen, int fd);
36 void yahoo_http_post(int id, const char *url, const char *cookies, long size,
37 yahoo_get_fd_callback callback, void *data);
38 void yahoo_http_get(int id, const char *url, const char *cookies,
39 yahoo_get_fd_callback callback, void *data);
40 void yahoo_get_url_fd(int id, const char *url, const struct yahoo_data *yd,
41 yahoo_get_url_handle_callback callback, void *data);
44 #ifdef __cplusplus
46 #endif
48 #endif