view libpurple/purple-client.h @ 27246:e28b627be482

A few changes to our code to handle chunked transfer-encodings (technically required for http 1.1 clients, but I guess it hasn't been a problem until now?) * Most importantly, check that the size of this chunk is less than the size of the data remaining in the buffer. Otherwise malicious servers could cause us to crash * Handle reading chunks that have a semi-colon after them. It seems like maybe this is allowed but almost never used? * Assume len is non-NULL (it always is in our case) * Add some comments
author Mark Doliner <mark@kingant.net>
date Thu, 02 Jul 2009 07:33:17 +0000
parents 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_CLIENT_H_INCLUDED_
#define _PURPLE_CLIENT_H_INCLUDED_

#include <glib.h>
#include "purple-client-bindings.h"

G_BEGIN_DECLS

void purple_init(void);

G_END_DECLS

#endif