~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/client_settings.h

  • Committer: Patrick Galbraith
  • Date: 2008-07-24 16:57:40 UTC
  • mto: (202.2.4 rename-mysql-to-drizzle)
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: patg@ishvara-20080724165740-x58yw6zs6d9o17lf
Most everything working with client rename
mysqlslap test still fails... can't connect to the server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2003-2005 MySQL AB
 
1
/* Copyright (C) 2003-2005 DRIZZLE AB
2
2
   
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
19
19
 
20
20
sig_handler my_pipe_sig_handler(int sig);
21
21
void read_user_name(char *name);
22
 
my_bool handle_local_infile(MYSQL *mysql, const char *net_filename);
 
22
my_bool handle_local_infile(DRIZZLE *drizzle, const char *net_filename);
23
23
 
24
24
 
25
25
/* TODO: Do we still need these now that there's not non-threaded stuff? */
26
26
#define init_sigpipe_variables
27
 
#define set_sigpipe(mysql)
28
 
#define reset_sigpipe(mysql)
 
27
#define set_sigpipe(drizzle)
 
28
#define reset_sigpipe(drizzle)
29
29
 
30
30
void mysql_detach_stmt_list(LIST **stmt_list, const char *func_name);
31
 
MYSQL * STDCALL
32
 
cli_mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
 
31
DRIZZLE * STDCALL
 
32
cli_drizzle_connect(DRIZZLE *drizzle,const char *host, const char *user,
33
33
                       const char *passwd, const char *db,
34
34
                       uint port, const char *unix_socket,ulong client_flag);
35
35
 
36
 
void cli_mysql_close(MYSQL *mysql);
 
36
void cli_drizzle_close(DRIZZLE *drizzle);
37
37
 
38
 
MYSQL_FIELD * cli_list_fields(MYSQL *mysql);
39
 
MYSQL_DATA * cli_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields,
 
38
DRIZZLE_FIELD * cli_list_fields(DRIZZLE *drizzle);
 
39
DRIZZLE_DATA * cli_read_rows(DRIZZLE *drizzle,DRIZZLE_FIELD *drizzle_fields,
40
40
                                   uint fields);
41
 
int cli_unbuffered_fetch(MYSQL *mysql, char **row);
42
 
const char * cli_read_statistics(MYSQL *mysql);
43
 
int cli_read_change_user_result(MYSQL *mysql, char *buff, const char *passwd);
 
41
int cli_unbuffered_fetch(DRIZZLE *drizzle, char **row);
 
42
const char * cli_read_statistics(DRIZZLE *drizzle);
 
43
int cli_read_change_user_result(DRIZZLE *drizzle, char *buff, const char *passwd);
44
44
 
45
45
C_MODE_START
46
 
extern int mysql_init_character_set(MYSQL *mysql);
 
46
extern int drizzle_init_character_set(DRIZZLE *drizzle);
47
47
C_MODE_END