view libpurple/plugins/perl/common/Idle.xs @ 27017:31f65046b92d

Various perl warning fixes as well as real fixes to gconstpointer functions SvPV, et al. take a char*, whereas the cipher and base16/64 encoding functions return unsigned char*s, so cast away warnings about those distinctions. get_image_extension and get_image_filename take a (char *, len) as arguments, but the generated glue code wasn't interepreting the data as a giant array. I think purple_imgstore_get_data is also broken, but is not fixed.
author Paul Aurich <paul@darkrain42.org>
date Fri, 22 May 2009 04:56:05 +0000
parents 9d7ebd28d339
children
line wrap: on
line source

#include "module.h"

MODULE = Purple::Idle  PACKAGE = Purple::Idle  PREFIX = purple_idle_
PROTOTYPES: ENABLE

void
purple_idle_touch()

void
purple_idle_set(time)
	time_t time