~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/my_readline.h

  • Committer: Monty Taylor
  • Date: 2008-07-02 14:35:48 UTC
  • mto: This revision was merged to the branch mainline in revision 51.
  • Revision ID: monty@inaugust.com-20080702143548-onj30ry0sugr01uw
Removed all references to THREAD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  char *start_of_line,*end_of_line;
24
24
  uint bufread;                 /* Number of bytes to get with each read(). */
25
25
  uint eof;
26
 
  uint32_t max_size;
27
 
  uint32_t read_length;         /* Length of last read string */
 
26
  ulong max_size;
 
27
  ulong read_length;            /* Length of last read string */
28
28
} LINE_BUFFER;
29
29
 
30
 
extern LINE_BUFFER *batch_readline_init(uint32_t max_size,FILE *file);
 
30
extern LINE_BUFFER *batch_readline_init(ulong max_size,FILE *file);
31
31
extern LINE_BUFFER *batch_readline_command(LINE_BUFFER *buffer, char * str);
32
32
extern char *batch_readline(LINE_BUFFER *buffer);
33
33
extern void batch_readline_end(LINE_BUFFER *buffer);