/* buffer/ph_buffer.h. Generated from buffer.h.in by configure. */ /* ** Copyright 1998-2004 University of Illinois Board of Trustees ** Copyright 1998-2004 Mark D. Roth ** All rights reserved. ** ** ph_buffer.h - header file for buffer module ** ** Mark D. Roth ** Campus Information Technologies and Educational Services ** University of Illinois at Urbana-Champaign */ #ifndef ph_BUFFER_H #define ph_BUFFER_H #include typedef struct ph_buffer *ph_buffer_t; typedef ssize_t (*ph_read_func_t)(void *, char *, size_t); int ph_buffer_new(ph_buffer_t *, size_t, ph_read_func_t, void *); ssize_t ph_buffer_read_line(ph_buffer_t, char *, size_t); void ph_free(ph_buffer_t); #endif /* ! ph_BUFFER_H */