view purple_internal.h @ 323:6ebabb96485f

try g_uri_escape_string() instead of picky purple_url_encode().
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Sep 2009 03:43:23 +0900
parents 2f053c23ee50
children
line wrap: on
line source

#ifndef _PIDGIN_TWITTER_PURPLE_INTERNAL_H_
#define _PIDGIN_TWITTER_PURPLE_INTERNAL_H_

struct _PurpleUtilFetchUrlData
{
	PurpleUtilFetchUrlCallback callback;
	void *user_data;

	struct
	{
		char *user;
		char *passwd;
		char *address;
		int port;
		char *page;

	} website;

	char *url;
	int num_times_redirected;
	gboolean full;
	char *user_agent;
	gboolean http11;
	char *request;
	gsize request_written;
	gboolean include_headers;

	PurpleProxyConnectData *connect_data;
	int fd;
	guint inpa;

	gboolean got_headers;
	gboolean has_explicit_data_len;
	char *webdata;
	unsigned long len;
	unsigned long data_len;
	gssize max_len;
};

#endif