Eneboo - Documentación para desarrolladores
src/libmysql_macosx/include/sql_common.h
Ir a la documentación de este archivo.
00001 /* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
00002    
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; either version 2 of the License, or
00006    (at your option) any later version.
00007    
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011    GNU General Public License for more details.
00012    
00013    You should have received a copy of the GNU General Public License
00014    along with this program; if not, write to the Free Software
00015    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
00016 
00017 
00018 extern const char       *unknown_sqlstate;
00019 extern const char       *not_error_sqlstate;
00020 
00021 #ifdef  __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
00026                            my_bool default_value, uint server_capabilities);
00027 void free_rows(MYSQL_DATA *cur);
00028 void free_old_query(MYSQL *mysql);
00029 void end_server(MYSQL *mysql);
00030 my_bool mysql_reconnect(MYSQL *mysql);
00031 void mysql_read_default_options(struct st_mysql_options *options,
00032                                 const char *filename,const char *group);
00033 my_bool
00034 cli_advanced_command(MYSQL *mysql, enum enum_server_command command,
00035                      const char *header, ulong header_length,
00036                      const char *arg, ulong arg_length, my_bool skip_check);
00037 
00038 void set_stmt_errmsg(MYSQL_STMT * stmt, const char *err, int errcode,
00039                      const char *sqlstate);
00040 void set_mysql_error(MYSQL *mysql, int errcode, const char *sqlstate);
00041 #ifdef  __cplusplus
00042 }
00043 #endif
00044 
00045 #define protocol_41(A) ((A)->server_capabilities & CLIENT_PROTOCOL_41)
00046 
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'