~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/manifest.h

  • Committer: Monty Taylor
  • Date: 2010-06-18 00:34:51 UTC
  • mto: (1627.2.5 build)
  • mto: This revision was merged to the branch mainline in revision 1628.
  • Revision ID: mordred@inaugust.com-20100618003451-2b3fs2m2hvpch91r
Add function pointer hook for plugins to register program_options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2009 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
26
26
 * A module::Manifest is the struct contained in every Plugin Library.
27
27
 */
28
28
 
29
 
#include <drizzled/module/context.h>
30
 
#include <drizzled/module/option_context.h>
 
29
#include "drizzled/module/context.h"
 
30
#include "drizzled/module/option_context.h"
31
31
 
32
32
namespace drizzled
33
33
{
68
68
  const char *descr;         /* general descriptive text (for SHOW PLUGINS ) */
69
69
  plugin_license_type license; /* plugin license (PLUGIN_LICENSE_XXX)          */
70
70
  initialize_func_t init;     /* function to invoke when plugin is loaded     */
71
 
  const char *depends;
 
71
  drizzle_sys_var **system_vars;
72
72
  options_func_t init_options; /* register command line options              */
73
73
};
74
74