Martti,

I added the tport integration functions to stun.h:

/** Callback invoked by stun handle when it has a message to send. */
typedef int (*stun_send_callback)(stun_magic_t *magic,
                                  stun_handle_t *se,
                                  int socket,
                                  void *data,
                                  unsigned len,
                                  int only_a_keepalive);

/** Determine length of STUN message (0 if not stun). */
int stun_message_length(void *data, int len, int end_of_message);

/** Process incoming message */
int stun_handle_process_message(stun_handle_t *se, void *data, int len);

(they are just in darcs
<http://dev-126.openlaboratory.net/repos/sofia-sip> at the moment).

--
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to