~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal_format.h

  • Committer: Eric Day
  • Date: 2009-11-10 22:59:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1218.
  • Revision ID: eday@oddments.org-20091110225928-hht1klldtfflwixc
Fixed header file guards and fixed test cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  Authors:
7
7
 *
49
49
  pcre *_re; /**< The compiled regular expression struct */
50
50
  int32_t _error_offset; /**< Any error encountered during compilation or matching */
51
51
  const char *_error;
 
52
  int32_t _match_vector[OUT_VECTOR_SIZE]; /**< Stores match substring indexes */
52
53
  /* Index of the pattern which is a specific temporal part */
53
54
  uint32_t _year_part_index;
54
55
  uint32_t _month_part_index;
130
131
  bool matches(const char *data, size_t data_len, Temporal *to);
131
132
};
132
133
 
 
134
} /* end namespace drizzled */
133
135
 
134
136
/**
135
137
 * Initializes the regular expressions used by the datetime
148
150
 */
149
151
void deinit_temporal_formats();
150
152
 
151
 
} /* end namespace drizzled */
152
 
 
153
153
#endif /* DRIZZLED_TEMPORAL_FORMAT_H */