~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_qcache.h

  • Committer: Mark Atwood
  • Date: 2008-10-16 16:14:18 UTC
  • mto: (499.2.8 drizzle-errmsg)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: mark@fallenpegasus.com-20081016161418-8jrxbh9fhktzcl2m
new plugin types, configvar and qcache

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Definitions required for Query Cache plugin 
 
3
*/
 
4
 
 
5
#ifndef DRIZZLED_PLUGIN_QCACHE_H
 
6
#define DRIZZLED_PLUGIN_QCACHE_H
 
7
 
 
8
typedef struct qcache_st
 
9
{
 
10
  /* todo, define this api */
 
11
  /* this is the API that a qcache plugin must implement.
 
12
     it should implement each of these function pointers.
 
13
     if a function returns bool true, that means it failed.
 
14
     if a function pointer is NULL, that's ok.
 
15
  */
 
16
 
 
17
  bool (*qcache_func1)(THD *thd, void *parm1, void *parm2);
 
18
  bool (*qcache_func2)(THD *thd, void *parm3, void *parm4);
 
19
} qcache_t;
 
20
 
 
21
#endif /* DRIZZLED_PLUGIN_QCACHE_H */