X-Git-Url: http://andersk.mit.edu/gitweb/libfaim.git/blobdiff_plain/0589dc540706ddf1615d9085f2a68df227509ee6..37ee990eab0e60fadbc1555d3f4a7e85d2026297:/aim_buddylist.c diff --git a/aim_buddylist.c b/aim_buddylist.c index a9b9ef8..ecd5af1 100644 --- a/aim_buddylist.c +++ b/aim_buddylist.c @@ -1,4 +1,5 @@ +#define FAIM_INTERNAL #include /* @@ -6,6 +7,8 @@ * * Adds a single buddy to your buddy list after login. * + * XXX this should just be an extension of setbuddylist() + * */ faim_export unsigned long aim_add_buddy(struct aim_session_t *sess, struct aim_conn_t *conn, @@ -33,6 +36,11 @@ faim_export unsigned long aim_add_buddy(struct aim_session_t *sess, return sess->snac_nextid; } +/* + * XXX generalise to support removing multiple buddies (basically, its + * the same as setbuddylist() but with a different snac subtype). + * + */ faim_export unsigned long aim_remove_buddy(struct aim_session_t *sess, struct aim_conn_t *conn, char *sn )