~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/my_readline.h

  • Committer: Monty Taylor
  • Date: 2009-03-08 23:45:12 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 921.
  • Revision ID: mordred@inaugust.com-20090308234512-tqkygxtu1iaig23s
Removed C99 isnan() usage, which allows us to remove the util/math.{cc,h} workarounds. Yay for standards!

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
/* readline for batch mode */
17
16
 
18
17
typedef struct st_line_buffer
19
18
{
21
20
  char *buffer;                 /* The buffer itself, grown as needed. */
22
21
  char *end;                    /* Pointer at buffer end */
23
22
  char *start_of_line,*end_of_line;
24
 
  uint bufread;                 /* Number of bytes to get with each read(). */
25
 
  uint eof;
 
23
  uint32_t bufread;                     /* Number of bytes to get with each read(). */
 
24
  uint32_t eof;
26
25
  uint32_t max_size;
27
26
  uint32_t read_length;         /* Length of last read string */
28
27
} LINE_BUFFER;