Watt-32 tcp/ip  2.2 dev-rel.10
Functions | Variables
bsddbug.c File Reference

Go to the source code of this file.

Functions

static void (W32_CALL *prev_hook)(const char *
 
static void bsddbug_exit (void)
 
static void bsddbug_close (void)
 
static int ods_printf (const char *fmt, va_list arg)
 
int MS_CDECL _sock_debugf (const char *fmt,...)
 
BOOL _sock_dbug_active (void)
 
void _sock_dbug_flush (void)
 
void _sock_dbug_open (void)
 
static void set_dbg_fname (const char *value)
 
static void set_dbg_openmode (const char *value)
 
static void W32_CALL dbug_parse (const char *name, const char *value)
 
void _sock_dbug_init (void)
 
static void show_local_ports_inuse (void)
 
void bsd_fortify_print (const char *buf)
 
void _sock_enter_scope (void)
 
void _sock_leave_scope (void)
 

Variables

static int sk_scope = 0
 
static const char *static BOOL dbg_use_ods = FALSE
 
static FILE * dbg_file = NULL
 
static char dbg_omode [5] = "w+"
 
static char dbg_fname [MAX_PATHLEN+1] = ""
 

Detailed Description

BSD socket debugging.

Definition in file bsddbug.c.

Function Documentation

static int ods_printf ( const char *  fmt,
va_list  arg 
)
static
Todo:
: Needs to be rewritten to handle line-buffering. !!

Definition at line 282 of file bsddbug.c.

References set_timeout(), and sk_scope.

Variable Documentation

int sk_scope = 0
static

scope-level (indent printout)

Definition at line 48 of file bsddbug.c.