~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/net_serv.h

Merged fix-headers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
extern "C" {
30
30
#endif
31
31
 
 
32
#define LIBDRIZZLE_ERRMSG_SIZE 512
 
33
#define LIBDRIZZLE_SQLSTATE_LENGTH 5
 
34
 
32
35
typedef struct st_net {
33
36
  Vio *vio;
34
37
  unsigned char *buff,*buff_end,*write_pos,*read_pos;
60
63
  unsigned int last_errno;
61
64
  unsigned char error; 
62
65
  /** Client library error message buffer. Actually belongs to struct MYSQL. */
63
 
  char last_error[DRIZZLE_ERRMSG_SIZE];
 
66
  char last_error[LIBDRIZZLE_ERRMSG_SIZE];
64
67
  /** Client library sqlstate buffer. Set along with the error message. */
65
 
  char sqlstate[SQLSTATE_LENGTH+1];
 
68
  char sqlstate[LIBDRIZZLE_SQLSTATE_LENGTH+1];
66
69
  void *extension;
67
70
} NET;
68
71