~drizzle-trunk/drizzle/development

383.1.45 by Monty Taylor
libdrizzle.h cleanup. Removed some unused things. Started splitting header into
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
10
 *
11
 *  This program is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *  GNU General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU General Public License
17
 *  along with this program; if not, write to the Free Software
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 */
20
21
#ifndef _libdrizzle_drizzle_rows_h
22
#define _libdrizzle_drizzle_rows_h
23
24
#ifdef  __cplusplus
25
extern "C" {
26
#endif
27
28
typedef char **DRIZZLE_ROW;    /* return data as array of strings */
29
30
typedef struct st_drizzle_rows {
31
  struct st_drizzle_rows *next;    /* list of rows */
32
  DRIZZLE_ROW data;
33
  unsigned long length;
34
} DRIZZLE_ROWS;
35
36
typedef DRIZZLE_ROWS *DRIZZLE_ROW_OFFSET;  /* offset to current row */
37
38
39
#ifdef  __cplusplus
40
}
41
#endif
42
43
#endif /* _libdrizzle_drizzle_rows_h */