nl_dump_params Struct Reference
[Utilities]

#include <types.h>


Detailed Description

Definition at line 36 of file types.h.


Data Fields

enum nl_dump_type dp_type
 Specifies the type of dump that is requested.
int dp_prefix
 Specifies the number of whitespaces to be put in front of every new line (indentation).
int dp_print_index
 Causes the cache index to be printed for each element.
int dp_dump_msgtype
 Causes each element to be prefixed with the message type.
void(* dp_cb )(struct nl_dump_params *, char *)
 A callback invoked for output.
void(* dp_nl_cb )(struct nl_dump_params *, int)
 A callback invoked for every new line, can be used to customize the indentation.
void * dp_data
 User data pointer, can be used to pass data to callbacks.
FILE * dp_fd
 File descriptor the dumping output should go to.
char * dp_buf
 Alternatively the output may be redirected into a buffer.
size_t dp_buflen
 Length of the buffer dp_buf.
int dp_pre_dump
 PRIVATE Set if a dump was performed prior to the actual dump handler.

Field Documentation

void(* nl_dump_params::dp_cb)(struct nl_dump_params *, char *)

Passed arguments are:

void(* nl_dump_params::dp_nl_cb)(struct nl_dump_params *, int)

Passed arguments are:

Referenced by nl_new_line().


Generated on Tue Feb 12 03:16:00 2008 for libnl by  doxygen 1.5.4