}
faim_export int aim_conn_addhandler(struct aim_session_t *sess,
- struct aim_conn_t *conn,
- u_short family,
- u_short type,
- rxcallback_t newhandler,
- u_short flags)
+ struct aim_conn_t *conn,
+ u_short family,
+ u_short type,
+ aim_rxcallback_t newhandler,
+ u_short flags)
{
struct aim_rxcblist_t *newcb;
return 0;
}
-faim_internal rxcallback_t aim_callhandler(struct aim_session_t *sess,
- struct aim_conn_t *conn,
- unsigned short family,
- unsigned short type)
+faim_internal aim_rxcallback_t aim_callhandler(struct aim_session_t *sess,
+ struct aim_conn_t *conn,
+ unsigned short family,
+ unsigned short type)
{
struct aim_rxcblist_t *cur;
u_short type,
struct command_rx_struct *ptr)
{
- rxcallback_t userfunc = NULL;
+ aim_rxcallback_t userfunc = NULL;
userfunc = aim_callhandler(sess, conn, family, type);
if (userfunc)
return userfunc(sess, ptr);
struct aim_tlvlist_t *tlvlist;
char *msg = NULL;
unsigned short code = 0;
- rxcallback_t userfunc = NULL;
+ aim_rxcallback_t userfunc = NULL;
int ret = 1;
/* Used only by the older login protocol */