Tor  0.4.6.0-alpha-dev
Data Fields
dispatch_typefns_t Struct Reference

#include <msgtypes.h>

Data Fields

void(* free_fn )(msg_aux_data_t)
 
char *(* fmt_fn )(msg_aux_data_t)
 

Detailed Description

Table of functions to use for a given C type. Any omitted (NULL) functions will be treated as no-ops.

Definition at line 72 of file msgtypes.h.

Field Documentation

◆ fmt_fn

char*(* fmt_fn) (msg_aux_data_t)

Format and return a newly allocated string describing the contents of this data element.

Definition at line 77 of file msgtypes.h.

◆ free_fn

void(* free_fn) (msg_aux_data_t)

Release storage held for the auxiliary data of this type.

Definition at line 74 of file msgtypes.h.


The documentation for this struct was generated from the following file: