Skip to content
Snippets Groups Projects
Commit a1574a06 authored by Johan Schön's avatar Johan Schön
Browse files

Added function for registering async-send-message callbacks.

Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike:1.14
parent 16cf0d54
No related branches found
No related tags found
No related merge requests found
// $Id: Session.pike,v 1.13 1999/11/08 19:50:47 wellhard Exp $
// $Id: Session.pike,v 1.14 1999/11/27 21:13:32 js Exp $
//! module Protocols
//! submodule LysKOM
//! class Session
......@@ -918,3 +918,8 @@ object|void send_message(string textstring, mapping options)
if (objectp(res)) return res;
return text(res);
}
void register_async_message_callback(function(int,int,string:void) cb)
{
s->con->con->add_async_callback("async-send-message", cb);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment