ReactOS  0.4.14-dev-114-gc8cbd56
wpp_callbacks Struct Reference

#include <wpp.h>

Collaboration diagram for wpp_callbacks:

Public Attributes

char *(* lookup )(const char *filename, int type, const char *parent_name, char **include_path, int include_path_count)
 
void *(* open )(const char *filename, int type)
 
void(* close )(void *file)
 
int(* read )(void *file, char *buffer, unsigned int len)
 
void(* write )(const char *buffer, unsigned int len)
 
void(* error )(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
 
void(* warning )(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
 

Detailed Description

Definition at line 27 of file wpp.h.

Member Data Documentation

◆ close

void(* wpp_callbacks::close) (void *file)

Definition at line 40 of file wpp.h.

Referenced by pop_buffer(), and wpp_parse().

◆ error

void(* wpp_callbacks::error) (const char *file, int line, int col, const char *near, const char *msg, va_list ap)

Definition at line 47 of file wpp.h.

Referenced by ppy_error().

◆ lookup

char*(* wpp_callbacks::lookup) (const char *filename, int type, const char *parent_name, char **include_path, int include_path_count)

Definition at line 35 of file wpp.h.

Referenced by pp_open_include().

◆ open

void*(* wpp_callbacks::open) (const char *filename, int type)

Definition at line 38 of file wpp.h.

Referenced by pp_open_include(), and wpp_parse().

◆ read

int(* wpp_callbacks::read) (void *file, char *buffer, unsigned int len)

Definition at line 42 of file wpp.h.

◆ warning

void(* wpp_callbacks::warning) (const char *file, int line, int col, const char *near, const char *msg, va_list ap)

Definition at line 48 of file wpp.h.

Referenced by ppy_warning().

◆ write

void(* wpp_callbacks::write) (const char *buffer, unsigned int len)

Definition at line 44 of file wpp.h.

Referenced by pp_writestring(), and put_buffer().


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