view src/protocols/oscar/adverts.c @ 6357:1fa4410d2e13

[gaim-migrate @ 6856] Not much--I changed the code to show idle time for irc so it uses the core sec_to_text function or whatever it's called. THEN I fixed a compile error, AND THEN I fixed a compile warning, AND NOW I'm commiting. AND THEN the storm released its fury upon the soil ...they should have known because he told them so... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 02 Aug 2003 15:27:00 +0000
parents e73c48cf1645
children
line wrap: on
line source

/*
 * Family 0x0005 - Advertisements.
 *
 */

#define FAIM_INTERNAL
#include <aim.h>

faim_export int aim_ads_requestads(aim_session_t *sess, aim_conn_t *conn)
{
	return aim_genericreq_n(sess, conn, 0x0005, 0x0002);
}

static int snachandler(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)
{
	return 0;
}

faim_internal int adverts_modfirst(aim_session_t *sess, aim_module_t *mod)
{

	mod->family = 0x0005;
	mod->version = 0x0001;
	mod->toolid = 0x0001;
	mod->toolversion = 0x0001;
	mod->flags = 0;
	strncpy(mod->name, "adverts", sizeof(mod->name));
	mod->snachandler = snachandler;

	return 0;
}