cclerrms.c File Reference

Implements CCL error code to error string map. More...

#include <yaz/ccl.h>

Go to the source code of this file.

Functions

const char * ccl_err_msg (int ccl_errno)

Variables

static char * err_msg_array []

Detailed Description

Implements CCL error code to error string map.

This source file implements mapping between CCL error code and their string equivalents.

Definition in file cclerrms.c.


Function Documentation

const char* ccl_err_msg ( int  ccl_errno  ) 

Return english-readable error message for CCL parser error number

Definition at line 36 of file cclerrms.c.

References err_msg_array.

Referenced by ccl2pqf(), and ZOOM_query_ccl2rpn().


Variable Documentation

char* err_msg_array[] [static]
Initial value:
 {
    "Ok",
    "Search word expected",
    "')' expected",
    "Set name expected",
    "Operator expected",
    "Unbalanced ')'",
    "Unknown qualifier",
    "Qualifiers applied twice",
    "'=' expected",
    "Bad relation",
    "Left truncation not supported",
    "Both left - and right truncation not supported",
    "Right truncation not supported"
}

Definition at line 15 of file cclerrms.c.

Referenced by ccl_err_msg().

Generated on Tue Aug 17 13:13:19 2010 for YAZ by  doxygen 1.6.3