~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler_structs.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <drizzled/lex_string.h>
38
38
#include "drizzled/global_charset_info.h"
39
39
 
 
40
namespace drizzled
 
41
{
40
42
 
41
43
class Ha_trx_info;
42
44
struct st_key;
43
45
typedef struct st_key KEY;
44
 
struct st_key_cache;
45
46
typedef struct st_key_cache KEY_CACHE;
46
47
 
47
 
namespace drizzled
48
 
{
 
48
 
49
49
namespace plugin
50
50
{
51
51
class StorageEngine;
52
52
}
53
 
}
54
53
 
55
54
struct Session_TRANS
56
55
{
105
104
  uint32_t table_options;
106
105
  uint32_t used_fields;
107
106
  enum row_type row_type;
108
 
  drizzled::plugin::StorageEngine *db_type;
 
107
  plugin::StorageEngine *db_type;
109
108
  bool table_existed;                   /* 1 in create if table existed */
110
109
} HA_CREATE_INFO;
111
110
 
181
180
  unsigned char *end_of_used_area;     /* End of area that was used by handler */
182
181
} HANDLER_BUFFER;
183
182
 
 
183
} /* namespace drizzled */
 
184
 
184
185
#endif /* DRIZZLED_HANDLER_STRUCTS_H */