~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2009-04-10 21:13:45 UTC
  • mto: (992.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: mordred@inaugust.com-20090410211345-8ti3nt2i2otjrjly
New-style plugin registration now works.
New-style plugin re-registration on the way.

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
  (*(DRIZZLE_SYSVAR_NAME(name).resolve(session, DRIZZLE_SYSVAR_NAME(name).offset)))
366
366
 
367
367
 
368
 
/*
369
 
  Plugin description structure.
370
 
*/
371
 
 
372
 
struct st_mysql_plugin
373
 
{
374
 
  uint32_t type;        /* the plugin type (a DRIZZLE_XXX_PLUGIN value)   */
375
 
  const char *name;     /* plugin name (for SHOW PLUGINS)               */
376
 
  const char *version;  /* plugin version (for SHOW PLUGINS)            */
377
 
  const char *author;   /* plugin author (for SHOW PLUGINS)             */
378
 
  const char *descr;    /* general descriptive text (for SHOW PLUGINS ) */
379
 
  int license;          /* the plugin license (PLUGIN_LICENSE_XXX)      */
380
 
  int (*init)(void *);  /* the function to invoke when plugin is loaded */
381
 
  int (*deinit)(void *);/* the function to invoke when plugin is unloaded */
382
 
  struct st_mysql_show_var *status_vars;
383
 
  struct st_mysql_sys_var **system_vars;
384
 
  void *reserved1;   /* reserved for dependency checking             */
385
 
};
386
 
 
387
368
struct StorageEngine;
388
369
 
389
370