Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

logging.c File Reference

#include "common.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <assert.h>

Functions

void xlogf (int level, const char *fmt,...)
 Logging function.
void ikev2_set_log_callback (t_ikev2_log_vcallback callback)
 Set log function callback.

Variables

static t_ikev2_log_vcallback f_log = NULL
 log function callback

Function Documentation

void ikev2_set_log_callback t_ikev2_log_vcallback  callback  ) 
 

Set log function callback.

Parameters:
callback log function callback

void xlogf int  level,
const char *  fmt,
  ...
 

Logging function.

Parameters:
level log level
*fmt format string (like printf)
... other params


Variable Documentation

t_ikev2_log_vcallback f_log = NULL [static]
 

log function callback


Project hosted by: SourceForge.net Logo