| 1 /* |
|
| 2 * Family 0x0005 - Advertisements. |
|
| 3 * |
|
| 4 */ |
|
| 5 |
|
| 6 #define FAIM_INTERNAL |
|
| 7 #include <aim.h> |
|
| 8 |
|
| 9 faim_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 |
|
| 14 static 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 |
|
| 19 faim_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 } |
|