~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libmysql/client_settings.h

  • Committer: Monty Taylor
  • Date: 2008-07-05 11:20:18 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: monty@inaugust.com-20080705112018-fr12kkmgphtu7m29
Changes so that removal of duplicate curr_dir from my_sys.h work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (C) 2003-2005 MySQL AB
 
2
   
 
3
   This program is free software; you can redistribute it and/or modify
 
4
   it under the terms of the GNU General Public License as published by
 
5
   the Free Software Foundation; version 2 of the License.
 
6
   
 
7
   This program is distributed in the hope that it will be useful,
 
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
   GNU General Public License for more details.
 
11
   
 
12
   You should have received a copy of the GNU General Public License
 
13
   along with this program; if not, write to the Free Software
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
 
 
16
extern uint             mysql_port;
 
17
extern char *   mysql_unix_port;
 
18
 
 
19
#define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG |    \
 
20
                             CLIENT_TRANSACTIONS | \
 
21
                             CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION)
 
22
 
 
23
sig_handler my_pipe_sig_handler(int sig);
 
24
void read_user_name(char *name);
 
25
my_bool handle_local_infile(MYSQL *mysql, const char *net_filename);
 
26
 
 
27
 
 
28
/* TODO: Do we still need these now that there's not non-threaded stuff? */
 
29
#define init_sigpipe_variables
 
30
#define set_sigpipe(mysql)
 
31
#define reset_sigpipe(mysql)
 
32
 
 
33
void mysql_read_default_options(struct st_mysql_options *options,
 
34
                                const char *filename,const char *group);
 
35
void mysql_detach_stmt_list(LIST **stmt_list, const char *func_name);
 
36
MYSQL * STDCALL
 
37
cli_mysql_real_connect(MYSQL *mysql,const char *host, const char *user,
 
38
                       const char *passwd, const char *db,
 
39
                       uint port, const char *unix_socket,ulong client_flag);
 
40
 
 
41
void cli_mysql_close(MYSQL *mysql);
 
42
 
 
43
MYSQL_FIELD * cli_list_fields(MYSQL *mysql);
 
44
MYSQL_DATA * cli_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields,
 
45
                                   uint fields);
 
46
int cli_unbuffered_fetch(MYSQL *mysql, char **row);
 
47
const char * cli_read_statistics(MYSQL *mysql);
 
48
int cli_read_change_user_result(MYSQL *mysql, char *buff, const char *passwd);
 
49
 
 
50
C_MODE_START
 
51
extern int mysql_init_character_set(MYSQL *mysql);
 
52
C_MODE_END