libjf API reference guide

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

jf_trace.c File Reference

#include <jf/jf_config.h>
#include <jf/jf_trace.h>

Go to the source code of this file.

Functions

int jf_trace (const char *fmt,...)
void jf_trace_hex_data (const byte_t *data, jf_word_t size, FILE *out_stream)
void jf_trace_text_data (const byte_t *data, jf_word_t size, FILE *out_stream)


Function Documentation

int jf_trace const char *  fmt,
  ...
 

Send trace record to stderr

Parameters:
fmt IN record format
... IN record data
Definition at line 35 of file jf_trace.c.

void jf_trace_hex_data const byte_t data,
jf_word_t  size,
FILE *  out_stream
 

Dump the content of a piece of memory to a stream (hex format)

Parameters:
data IN pointer to base memory
size IN number of bytes to dump
out_stream IN destination standard I/O stream
Definition at line 51 of file jf_trace.c.

References byte_t, and jf_word_t.

Referenced by jf_cache_file_trace(), and jf_journal_trace_record().

void jf_trace_text_data const byte_t data,
jf_word_t  size,
FILE *  out_stream
 

Dump the content of a piece of memory to a stream (text format)

Parameters:
data IN pointer to base memory
size IN number of bytes to dump
out_stream IN destination standard I/O stream
Definition at line 63 of file jf_trace.c.

References byte_t, and jf_word_t.

Referenced by jf_cache_file_trace(), and jf_journal_trace_record().


Copyright 2005 © Tiian