~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin.h

Removed server_id from common_includes.
Split xid stuff into its own files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/global.h>
24
24
#include <drizzled/lex_string.h>
 
25
#include <drizzled/xid.h>
25
26
 
26
27
class Session;
27
28
class Item;
28
29
 
29
 
#define DRIZZLE_XIDDATASIZE 128
30
 
/**
31
 
  struct st_mysql_xid is binary compatible with the XID structure as
32
 
  in the X/Open CAE Specification, Distributed Transaction Processing:
33
 
  The XA Specification, X/Open Company Ltd., 1991.
34
 
  http://www.opengroup.org/bookstore/catalog/c193.htm
35
 
 
36
 
  @see XID in sql/handler.h
37
 
*/
38
 
struct st_mysql_xid {
39
 
  long formatID;
40
 
  long gtrid_length;
41
 
  long bqual_length;
42
 
  char data[DRIZZLE_XIDDATASIZE];  /* Not \0-terminated */
43
 
};
44
 
typedef struct st_mysql_xid DRIZZLE_XID;
45
 
 
46
30
/*************************************************************************
47
31
  Plugin API. Common for all plugin types.
48
32
*/