~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

Removed some plugin loading cruft.

Show diffs side-by-side

added added

removed removed

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