Mercurial > hg > xemacs-beta
comparison src/lstream.h @ 440:8de8e3f6228a r21-2-28
Import from CVS: tag r21-2-28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:33:38 +0200 |
parents | 3ecd8885ac67 |
children | abe6d1db359e |
comparison
equal
deleted
inserted
replaced
439:357dd071b03c | 440:8de8e3f6228a |
---|---|
21 | 21 |
22 /* Synched up with: Not in FSF. */ | 22 /* Synched up with: Not in FSF. */ |
23 | 23 |
24 /* Written by Ben Wing. */ | 24 /* Written by Ben Wing. */ |
25 | 25 |
26 #ifndef _XEMACS_LSTREAM_H_ | 26 #ifndef INCLUDED_lstream_h_ |
27 #define _XEMACS_LSTREAM_H_ | 27 #define INCLUDED_lstream_h_ |
28 | 28 |
29 /************************************************************************/ | 29 /************************************************************************/ |
30 /* definition of Lstream object */ | 30 /* definition of Lstream object */ |
31 /************************************************************************/ | 31 /************************************************************************/ |
32 | 32 |
337 Bufbyte eof_char); | 337 Bufbyte eof_char); |
338 int filedesc_stream_fd (Lstream *stream); | 338 int filedesc_stream_fd (Lstream *stream); |
339 Lisp_Object make_lisp_string_input_stream (Lisp_Object string, | 339 Lisp_Object make_lisp_string_input_stream (Lisp_Object string, |
340 Bytecount offset, | 340 Bytecount offset, |
341 Bytecount len); | 341 Bytecount len); |
342 Lisp_Object make_fixed_buffer_input_stream (CONST unsigned char *buf, | 342 Lisp_Object make_fixed_buffer_input_stream (CONST void *buf, size_t size); |
343 size_t size); | 343 Lisp_Object make_fixed_buffer_output_stream (void *buf, size_t size); |
344 Lisp_Object make_fixed_buffer_output_stream (unsigned char *buf, | |
345 size_t size); | |
346 CONST unsigned char *fixed_buffer_input_stream_ptr (Lstream *stream); | 344 CONST unsigned char *fixed_buffer_input_stream_ptr (Lstream *stream); |
347 unsigned char *fixed_buffer_output_stream_ptr (Lstream *stream); | 345 unsigned char *fixed_buffer_output_stream_ptr (Lstream *stream); |
348 Lisp_Object make_resizing_buffer_output_stream (void); | 346 Lisp_Object make_resizing_buffer_output_stream (void); |
349 unsigned char *resizing_buffer_stream_ptr (Lstream *stream); | 347 unsigned char *resizing_buffer_stream_ptr (Lstream *stream); |
350 Lisp_Object make_dynarr_output_stream (unsigned_char_dynarr *dyn); | 348 Lisp_Object make_dynarr_output_stream (unsigned_char_dynarr *dyn); |
354 Bufpos end, int flags); | 352 Bufpos end, int flags); |
355 Lisp_Object make_lisp_buffer_output_stream (struct buffer *buf, Bufpos pos, | 353 Lisp_Object make_lisp_buffer_output_stream (struct buffer *buf, Bufpos pos, |
356 int flags); | 354 int flags); |
357 Bufpos lisp_buffer_stream_startpos (Lstream *stream); | 355 Bufpos lisp_buffer_stream_startpos (Lstream *stream); |
358 | 356 |
359 #endif /* _XEMACS_LSTREAM_H_ */ | 357 #endif /* INCLUDED_lstream_h_ */ |