~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzleclient/drizzle_field.h

  • Committer: Brian Aker
  • Date: 2009-02-20 22:48:37 UTC
  • Revision ID: brian@tangent.org-20090220224837-fw5wrf46n4ru3e6a
First pass of stripping uint

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef _libdrizzle_drizzle_field_h
21
 
#define _libdrizzle_drizzle_field_h
 
20
#ifndef LIBDRIZZLECLIENT_DRIZZLE_FIELD_H
 
21
#define LIBDRIZZLECLIENT_DRIZZLE_FIELD_H
 
22
 
 
23
#include <drizzled/common.h>
 
24
 
 
25
#include <stdint.h>
22
26
 
23
27
#ifdef  __cplusplus
24
28
extern "C" {
25
29
#endif
26
30
 
27
 
#include <stdint.h>
28
 
#include <libdrizzle/drizzle_com.h>
29
 
 
30
31
typedef unsigned int DRIZZLE_FIELD_OFFSET; /* offset to current field */
31
32
 
32
33
 
37
38
  char *org_table;            /* Org table name, if table was an alias */
38
39
  char *db;                   /* Database for table */
39
40
  char *catalog;        /* Catalog for table */
40
 
  char *def;                  /* Default value (set by drizzle_list_fields) */
 
41
  char *def;                  /* Default value (set by drizzleclient_list_fields) */
41
42
  uint32_t length;       /* Width of column (create length) */
42
43
  uint32_t max_length;   /* Max width for selected set */
43
44
  unsigned int name_length;
58
59
}
59
60
#endif
60
61
 
61
 
#endif /* _libdrizzle_drizzle_field_h */
 
62
#endif /* LIBDRIZZLECLIENT_DRIZZLE_FIELD_H */