Gnash  0.8.11dev
mysql_db.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 // Free Software Foundation, Inc
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 #ifndef GNASH_MYSQL_DB_H
20 #define GNASH_MYSQL_DB_H
21 
22 #ifdef HAVE_CONFIG_H
23 #include "gnashconfig.h"
24 #endif
25 
26 #include <errmsg.h>
27 #include <mysql.h>
28 
29 #include "as_value.h"
30 #include "as_object.h"
31 #include "extension.h"
32 
33 namespace gnash
34 {
35 
36 extern "C" {
37  void mysql_class_init(as_object &obj);
38 }
39 
40 }
41 
42 // __MYSQL_DB_H__
43 #endif
44 
45 // Local Variables:
46 // mode: C++
47 // indent-tabs-mode: t
48 // End:
49 
gnash::LogFile::getDefaultInstance
static LogFile & getDefaultInstance()
Definition: log.cpp:77
mysql_db.h
gnash::mysql_query
as_value mysql_query(const fn_call &fn)
Definition: mysql_db.cpp:384
gnash::as_object
The base class for all ActionScript objects.
Definition: as_object.h:162
as_object.h
gnash::toObject
as_object * toObject(const as_value &v, VM &vm)
Convert an as_value to an object.
Definition: VM.cpp:457
gnash::log_debug
void log_debug(StringType msg, Args... args)
Definition: log.h:301
gnash::key::i
@ i
Definition: GnashKey.h:155
gnash::LogFile
Definition: log.h:64
_
#define _(String)
Definition: log.h:44
gnash::as_object::init_member
void init_member(const std::string &name, const as_value &val, int flags=DefaultFlags)
Initialize a member value by string.
Definition: as_object.cpp:669
gnash
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
as_value.h
Global_as.h
gnash::getGlobal
Global_as & getGlobal(const as_environment &env)
Definition: as_environment.cpp:651
gnash::getVM
VM & getVM(const as_environment &env)
Definition: as_environment.h:222
as_function.h
gnash::mysql_free
as_value mysql_free(const fn_call &fn)
Definition: mysql_db.cpp:342
gnash::log_error
void log_error(StringType msg, Args... args)
Definition: log.h:283
gnash::createObject
as_object * createObject(const Global_as &gl)
Definition: Global_as.cpp:303
gnash::mysql_qetData
as_value mysql_qetData(const fn_call &fn)
Definition: mysql_db.cpp:316
gnash::NSV::PROP_PUSH
@ PROP_PUSH
Definition: namedStrings.h:88
gnash::fn_call
Parameters/environment for builtin or user-defined functions callable from ActionScript.
Definition: fn_call.h:118
gnash::callMethod
as_value callMethod(fn_call::Args &args, as_object *obj, const ObjectURI &uri)
Call a member function of this object in an AS-compatible way.
Definition: Global_as.h:219
gnash::Global_as::createClass
as_object * createClass(Global_as::ASFunction ctor, as_object *prototype)
Create an ActionScript class.
Definition: Global_as.cpp:180
gnash::Global_as::createFunction
as_function * createFunction(Global_as::ASFunction function)
Create an ActionScript function.
Definition: Global_as.cpp:159
gnash::mysql_fields
as_value mysql_fields(const fn_call &fn)
Definition: mysql_db.cpp:351
extension.h
gnash::mysql_class_init
void mysql_class_init(as_object &obj)
Definition: mysql_db.cpp:405
gnash::fn_call::nargs
Args::size_type nargs
Number of arguments to this ActionScript function call.
Definition: fn_call.h:178
gnash::as_value
ActionScript value type.
Definition: as_value.h:95
gnash::Global_as::createArray
as_object * createArray()
Construct an Array.
Definition: Global_as.cpp:207
gnash::key::j
@ j
Definition: GnashKey.h:156
gnash::fn_call::arg
const Args::value_type & arg(unsigned int n) const
Access a particular argument.
Definition: fn_call.h:194
gnash::log_aserror
void log_aserror(StringType msg, Args... args)
Definition: log.h:331
log.h
gnash::mysql_connect
as_value mysql_connect(const fn_call &fn)
Definition: mysql_db.cpp:298
fn_call.h
gnash::mysql_fetch
as_value mysql_fetch(const fn_call &fn)
Definition: mysql_db.cpp:359
gnash::dbglogfile
LogFile & dbglogfile
Definition: fileio.cpp:76
gnashconfig.h
namedStrings.h
gnash::Global_as
The Global object ultimately contains all objects in an ActionScript run.
Definition: Global_as.h:50
gnash::mysql_disconnect
as_value mysql_disconnect(const fn_call &fn)
Definition: mysql_db.cpp:397
gnash::mysql_store
as_value mysql_store(const fn_call &fn)
Definition: mysql_db.cpp:375
Array_as.h
gnash::mysql_row
as_value mysql_row(const fn_call &fn)