ctrump/parser/error.h File Reference

#include "ctrump/common/dll.h"
#include "error-code.h"

Include dependency graph for error.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ctrump_loginfo

Defines

#define CTRUMP_LOGLEVEL_ERROR   3
#define CTRUMP_LOGLEVEL_WARNING   4

Functions

CTRUMP_EXTDEF void ctrump_log (struct ctrump_loginfo *logInfo, int logLevel, enum ctrump_error_code ecode, const char *message, const char *formatStr, unsigned int numTokens, const char **tokens, const char *filename, int line, int column)
CTRUMP_EXTDEF void ctrump_free_log (struct ctrump_loginfo *logInfo)
CTRUMP_EXTDEF char * ctrump_get_loginfo_message (struct ctrump_loginfo *error)


Detailed Description

error functions.

Definition in file error.h.


Define Documentation

#define CTRUMP_LOGLEVEL_ERROR   3

Definition at line 50 of file error.h.

Referenced by ctrump_add_log(), and ctrump_report_log().

#define CTRUMP_LOGLEVEL_WARNING   4

Definition at line 51 of file error.h.

Referenced by ctrump_report_log().


Function Documentation

CTRUMP_EXTDEF void ctrump_free_log ( struct ctrump_loginfo logInfo  ) 

CTRUMP_EXTDEF char* ctrump_get_loginfo_message ( struct ctrump_loginfo error  ) 

Definition at line 147 of file CFrontError.cpp.

References MAX_MESSAGE_LEN, and ctrump_loginfo::message.

Referenced by ctrump_report_log(), and error_get_message().

CTRUMP_EXTDEF void ctrump_log ( struct ctrump_loginfo logInfo,
int  logLevel,
enum ctrump_error_code  ecode,
const char *  message,
const char *  formatStr,
unsigned int  numTokens,
const char **  tokens,
const char *  filename,
int  line,
int  column 
)


Generated on Tue Mar 31 20:19:25 2009 for ctrump by  doxygen 1.5.6