~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2009-12-14 18:54:30 UTC
  • mto: (1241.9.8 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091214185430-r5s7lmjmq0qamhu8
Removed some cruft.

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
extern void plugin_shutdown(drizzled::plugin::Registry &plugins);
395
395
extern void my_print_help_inc_plugins(my_option *options);
396
396
extern bool plugin_is_ready(const LEX_STRING *name, int type);
397
 
extern bool mysql_install_plugin(Session *session, const LEX_STRING *name,
398
 
                                 const LEX_STRING *dl);
399
 
extern bool mysql_uninstall_plugin(Session *session, const LEX_STRING *name);
400
397
extern void plugin_sessionvar_init(Session *session);
401
398
extern void plugin_sessionvar_cleanup(Session *session);
402
399
extern sys_var *intern_find_sys_var(const char *str, uint32_t, bool no_error);
410
407
void **session_ha_data(const Session *session, const drizzled::plugin::StorageEngine *engine);
411
408
int session_tx_isolation(const Session *session);
412
409
 
413
 
LEX_STRING *session_make_lex_string(Session *session, LEX_STRING *lex_str,
414
 
                                    const char *str, unsigned int size,
415
 
                                    int allocate_lex_string);
416
 
 
417
410
 
418
411
 
419
412
/**
515
508
}
516
509
#endif
517
510
 
518
 
#ifdef __cplusplus
519
 
/**
520
 
  Provide a handler data getter to simplify coding
521
 
*/
522
 
inline
523
 
void *
524
 
session_get_ha_data(const Session *session, const drizzled::plugin::StorageEngine *engine)
525
 
{
526
 
  return *session_ha_data(session, engine);
527
 
}
528
 
 
529
 
/**
530
 
  Provide a handler data setter to simplify coding
531
 
*/
532
 
inline
533
 
void
534
 
session_set_ha_data(const Session *session, const drizzled::plugin::StorageEngine *engine,
535
 
                const void *ha_data)
536
 
{
537
 
  *session_ha_data(session, engine)= (void*) ha_data;
538
 
}
539
 
#endif
540
511
 
541
512
#endif /* DRIZZLED_PLUGIN_H */
542
513