~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Lee Bieber
  • Date: 2011-01-28 21:08:33 UTC
  • mfrom: (2119.4.3 try-visibility)
  • Revision ID: kalebral@gmail.com-20110128210833-nro17n81etdpcylm
Merge Monty - Enable -fvisibility=hidden

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "drizzled/sys_var.h"
34
34
#include "drizzled/xid.h"
35
35
 
 
36
#include "drizzled/visibility.h"
 
37
 
36
38
namespace drizzled
37
39
{
38
40
 
62
64
#define PANDORA_CPP_NAME(x) _drizzled_ ## x ## _plugin_
63
65
#define PANDORA_PLUGIN_NAME(x) PANDORA_CPP_NAME(x)
64
66
#define DRIZZLE_DECLARE_PLUGIN \
65
 
  ::drizzled::module::Manifest PANDORA_PLUGIN_NAME(PANDORA_MODULE_NAME)= 
 
67
  DRIZZLED_API ::drizzled::module::Manifest PANDORA_PLUGIN_NAME(PANDORA_MODULE_NAME)= 
66
68
 
67
69
 
68
70
#define DRIZZLE_DECLARE_PLUGIN_END
179
181
extern void plugin_sessionvar_cleanup(Session *session);
180
182
 
181
183
int session_in_lock_tables(const Session *session);
182
 
int session_tablespace_op(const Session *session);
183
 
void set_session_proc_info(Session *session, const char *info);
184
 
const char *get_session_proc_info(Session *session);
185
 
int64_t session_test_options(const Session *session, int64_t test_options);
186
 
int session_sql_command(const Session *session);
187
 
enum_tx_isolation session_tx_isolation(const Session *session);
 
184
DRIZZLED_API int session_tablespace_op(const Session *session);
 
185
DRIZZLED_API void set_session_proc_info(Session *session, const char *info);
 
186
DRIZZLED_API const char *get_session_proc_info(Session *session);
 
187
DRIZZLED_API int64_t session_test_options(const Session *session, int64_t test_options);
 
188
DRIZZLED_API int session_sql_command(const Session *session);
 
189
DRIZZLED_API enum_tx_isolation session_tx_isolation(const Session *session);
188
190
 
189
191
void compose_plugin_add(std::vector<std::string> options);
190
192
void compose_plugin_remove(std::vector<std::string> options);
203
205
  @retval -1    error
204
206
  @retval >= 0  a file handle that can be passed to dup or internal::my_close
205
207
*/
206
 
int tmpfile(const char *prefix);
 
208
DRIZZLED_API int tmpfile(const char *prefix);
207
209
 
208
210
} /* namespace drizzled */
209
211