~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/errmsg.h

  • Committer: Monty Taylor
  • Date: 2009-02-02 19:40:04 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090202194004-oh4e2cnxg7gsi28h
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
with new libdrizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef _libdrizzle_errmsg_h
21
 
#define _libdrizzle_errmsg_h
 
20
#ifndef LIBDRIZZLECLIENT_ERRMSG_H
 
21
#define LIBDRIZZLECLIENT_ERRMSG_H
22
22
 
23
23
/* Error messages for MySQL clients */
24
24
/* (Error messages for the daemon are in sql/share/errmsg.txt) */
25
25
 
26
26
#ifdef  __cplusplus
27
 
extern "C" {
 
27
extern "C"
28
28
#endif
29
29
const char * get_client_error(unsigned int err_index);
30
 
#ifdef  __cplusplus
31
 
}
32
 
#endif
33
30
 
34
31
#define CR_MIN_ERROR    2000  /* For easier client code */
35
32
#define CR_MAX_ERROR    2999