Commit 566104b3 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Started fixing dbg_interactive sample -- hangs in fd_sess_fromsid

parent 41426417
......@@ -52,7 +52,7 @@ cvar.fd_debug_one_function = "gc_th_fct"
# Print messages to freeDiameter's debug facility
# Note: the python version does not support printf-like argument list. The formating should be done in python.
# See SWIG documentation about varargs functions for more information.
fd_log_debug("3 + 4 = %d\n" % (7))
fd_log_debug_fstr(None, "3 + 4 = %d\n" % (7))
# Display some framework state information
......
......@@ -109,6 +109,7 @@ static const char * wrapper_error_txt; /* if NULL, use strerror(errno) */
***********************************/
%apply (char *STRING, size_t LENGTH) { ( char * string, size_t len ) };
%apply (char *STRING, size_t LENGTH) { ( uint8_t * string, size_t len ) };
/* Generic typemap for functions that create something */
%typemap(in, numinputs=0,noblock=1) SWIGTYPE ** OUTPUT (void *temp = NULL) {
......@@ -154,6 +155,7 @@ static void fd_add_cb(struct peer_info *peer, void *data);
int fd_sess_fromsid ( unsigned char * STRING, size_t LENGTH, struct session ** OUTPUT, int * BOOL_OUT);
/*********************************************************
Now, create wrappers for (almost) all objects from fD API
*********************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment