Drizzled Public API Documentation

mysql_ms.h
00001 /* Copyright (C) 2008 PrimeBase Technologies GmbH, Germany
00002  *
00003  * PrimeBase Media Stream for MySQL
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00018  *
00019  * Original author: Paul McCullagh
00020  * Continued development: Barry Leslie
00021  *
00022  * 2007-05-25
00023  *
00024  * H&G2JCtL
00025  *
00026  * MySQL interface.
00027  *
00028  */
00029 
00030 #pragma once
00031 #ifndef __MS_MYSQL_H__
00032 #define __MS_MYSQL_H__
00033 
00034 void    *ms_my_get_thread();
00035 uint64_t  ms_my_1970_to_mysql_time(time_t t);
00036 const char  *ms_my_get_mysql_home_path();
00037 void    ms_my_set_column_name(const char *table, uint16_t col_index, char *col_name);
00038 bool    ms_is_autocommit();
00039 
00040 #endif