source: libfaim/adverts.c @ 0cff2b4

barnowl_perlaimdebianowlrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since 0cff2b4 was 862371b, checked in by James M. Kretchmar <kretch@mit.edu>, 21 years ago
*** empty log message ***
  • Property mode set to 100644
File size: 646 bytes
Line 
1/*
2 * Family 0x0005 - Advertisements.
3 *
4 */
5
6#define FAIM_INTERNAL
7#include <aim.h>
8
9faim_export int aim_ads_requestads(aim_session_t *sess, aim_conn_t *conn)
10{
11        return aim_genericreq_n(sess, conn, 0x0005, 0x0002);
12}
13
14static int snachandler(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_modsnac_t *snac, aim_bstream_t *bs)
15{
16        return 0;
17}
18
19faim_internal int adverts_modfirst(aim_session_t *sess, aim_module_t *mod)
20{
21
22        mod->family = 0x0005;
23        mod->version = 0x0001;
24        mod->toolid = 0x0001;
25        mod->toolversion = 0x0001;
26        mod->flags = 0;
27        strncpy(mod->name, "adverts", sizeof(mod->name));
28        mod->snachandler = snachandler;
29
30        return 0;
31}
Note: See TracBrowser for help on using the repository browser.