| 1 |
#ifndef SCM_R6RS_PORTS_H |
| 2 |
#define SCM_R6RS_PORTS_H |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
#include "libguile/scm.h" |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
SCM_API SCM scm_eof_object (void); |
| 30 |
SCM_API SCM scm_open_bytevector_input_port (SCM, SCM); |
| 31 |
SCM_API SCM scm_get_u8 (SCM); |
| 32 |
SCM_API SCM scm_lookahead_u8 (SCM); |
| 33 |
SCM_API SCM scm_get_bytevector_n (SCM, SCM); |
| 34 |
SCM_API SCM scm_get_bytevector_n_x (SCM, SCM, SCM, SCM); |
| 35 |
SCM_API SCM scm_get_bytevector_some (SCM); |
| 36 |
SCM_API SCM scm_get_bytevector_all (SCM); |
| 37 |
SCM_API SCM scm_put_u8 (SCM, SCM); |
| 38 |
SCM_API SCM scm_put_bytevector (SCM, SCM, SCM, SCM); |
| 39 |
SCM_API SCM scm_open_bytevector_output_port (SCM); |
| 40 |
|
| 41 |
SCM_API SCM scm_make_custom_binary_input_port (SCM, SCM, SCM, SCM, SCM); |
| 42 |
SCM_API SCM scm_make_custom_binary_output_port (SCM, SCM, SCM, SCM, SCM); |
| 43 |
SCM_API SCM scm_make_custom_binary_input_output_port (SCM, SCM, SCM, |
| 44 |
SCM, SCM, SCM); |
| 45 |
|
| 46 |
SCM_API SCM scm_get_string_n_x (SCM, SCM, SCM, SCM); |
| 47 |
|
| 48 |
SCM_API void scm_init_r6rs_ports (void); |
| 49 |
SCM_INTERNAL void scm_register_r6rs_ports (void); |
| 50 |
|
| 51 |
|
| 52 |
SCM_API SCM scm_unget_bytevector (SCM, SCM, SCM, SCM); |
| 53 |
SCM_API SCM scm_get_bytevector_some_x (SCM, SCM, SCM, SCM); |
| 54 |
|
| 55 |
#endif |