~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/errmsg.h

  • Committer: Brian Aker
  • Date: 2009-02-02 23:10:18 UTC
  • mfrom: (779.3.40 devel)
  • Revision ID: brian@tangent.org-20090202231018-zlp0hka6kgwy1vfy
Merge from Monty

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