~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/typelib.h

  • Committer: Brian Aker
  • Date: 2011-03-27 07:03:49 UTC
  • mfrom: (2252.2.3 drizzle-ga)
  • Revision ID: brian@tangent.org-20110327070349-ihqsw1cl19lu8j65
MergeĀ inĀ staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#pragma once
18
18
 
19
 
#include <drizzled/global_charset_info.h>
20
 
#include <drizzled/memory/root.h>
21
 
 
22
 
namespace drizzled
23
 
{
24
 
 
25
 
typedef struct st_typelib 
 
19
#include <drizzled/common_fwd.h>
 
20
 
 
21
namespace drizzled {
 
22
 
 
23
class TYPELIB
26
24
{
27
25
public:
28
 
  st_typelib *copy_typelib(memory::Root *root) const;
 
26
  TYPELIB *copy_typelib(memory::Root *root) const;
29
27
  int find_type_or_exit(const char *x, const char *option) const;
30
28
  int find_type(const char *x, unsigned int full_name) const;
31
29
  int find_type(char *x, unsigned int full_name) const;
42
40
  const char *name;
43
41
  const char **type_names;
44
42
  unsigned int *type_lengths;
45
 
} TYPELIB;
 
43
};
46
44
 
47
45
} /* namespace drizzled */
48
46