source: protocols/yahoo/yahoo_httplib.h @ 4f161e3

Last change on this file since 4f161e3 was 6f10697, checked in by dequis <dx@…>, at 2015-01-16T19:50:23Z

Fix incorrect Free Software Foundation address

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[b7d3cc34]1/*
2 * libyahoo2: yahoo_httplib.h
3 *
4 * Copyright (C) 2002-2004, Philip S Tellis <philip.tellis AT gmx.net>
5 *
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.
10 *
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.
15 *
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
[6f10697]18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
[b7d3cc34]19 *
20 */
21
22#ifndef YAHOO_HTTPLIB_H
23#define YAHOO_HTTPLIB_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#include "yahoo2_types.h"
30
[9034ba0]31        char *yahoo_urlencode(const char *instr);
32        char *yahoo_urldecode(const char *instr);
33        char *yahoo_xmldecode(const char *instr);
34
35        int yahoo_tcp_readline(char *ptr, int maxlen, void *fd);
36        void yahoo_http_post(int id, const char *url, const char *cookies,
37                long size, yahoo_get_fd_callback callback, void *data);
38        void yahoo_http_get(int id, const char *url, const char *cookies,
39                int http11, int keepalive, yahoo_get_fd_callback callback,
40                void *data);
41        void yahoo_http_head(int id, const char *url, const char *cookies,
42                int size, char *payload, yahoo_get_fd_callback callback,
43                void *data);
[b7d3cc34]44
45#ifdef __cplusplus
46}
47#endif
48#endif
Note: See TracBrowser for help on using the repository browser.