~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

  • Committer: Monty Taylor
  • Date: 2010-10-06 18:22:02 UTC
  • mto: (1818.1.1 build) (1821.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: mordred@inaugust.com-20101006182202-bzj2dpg6gnmbgghh
Fixed some more ICC warnings. How did I get started on this this morning?

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
  the following declarations are for use by plugin implementors
242
242
*/
243
243
 
 
244
#define DECLARE_DRIZZLE_SYSVAR_BASIC(name, type) struct { \
 
245
  DRIZZLE_PLUGIN_VAR_HEADER;      \
 
246
  type *value;                  \
 
247
  const type def_val;           \
 
248
} DRIZZLE_SYSVAR_NAME(name)
 
249
 
244
250
#define DRIZZLE_SYSVAR_BOOL(name, varname, opt, comment, check, update, def) \
245
 
DECLARE_DRIZZLE_SYSVAR_BASIC(name, bool) = { \
 
251
struct { \
 
252
    DRIZZLE_PLUGIN_VAR_HEADER; \
 
253
    bool *value; \
 
254
    bool def_val; \
 
255
  } DRIZZLE_SYSVAR_NAME(name) = { \
246
256
  PLUGIN_VAR_BOOL | ((opt) & PLUGIN_VAR_MASK), \
247
257
  #name, comment, check, update, &varname, def}
248
258