~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/errmsg.h

  • Committer: Brian Aker
  • Date: 2009-02-08 01:43:00 UTC
  • Revision ID: brian@tangent.org-20090208014300-gbidmdxbws95b223
More class creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifdef  __cplusplus
27
27
extern "C"
28
28
#endif
29
 
const char * drizzleclient_get_client_error(unsigned int err_index);
 
29
const char * get_client_error(unsigned int err_index);
30
30
 
31
31
#define CR_MIN_ERROR    2000  /* For easier client code */
32
32
#define CR_MAX_ERROR    2999
33
33
#if !defined(ER)
34
 
#define ER(X) drizzleclient_get_client_error((X)-CR_MIN_ERROR)
 
34
#define ER(X) get_client_error((X)-CR_MIN_ERROR)
35
35
#endif
36
36
#define CLIENT_ERRMAP    2  /* Errormap used by my_error() */
37
37