Doxygen Source Code Documentation
NI_stream_type Struct Reference
#include <niml.h>
Data Fields | |
int | type |
int | bad |
int | port |
int | sd |
FILE * | fp |
int | fsize |
char | name [256] |
int | io_mode |
int | data_mode |
int | bin_thresh |
int | nbuf |
int | npos |
int | bufsize |
char * | buf |
SHMioc * | shmioc |
char | orig_name [256] |
int | goodcheck_time |
int | b64_numleft |
byte | b64_left [4] |
Detailed Description
Data needed to process input stream.
Definition at line 333 of file niml.h.
Field Documentation
|
Leftover decoded bytes from NI_stream_readbuf64() Definition at line 362 of file niml.h. Referenced by NI_stream_readbuf64(). |
|
For use in NI_stream_readbuf64() Definition at line 361 of file niml.h. Referenced by NI_read_element(), NI_stream_open(), and NI_stream_readbuf64(). |
|
Tells whether I/O is OK for this yet Definition at line 335 of file niml.h. Referenced by NI_decode_one_double(), NI_decode_one_string(), NI_read_columns(), NI_read_element(), NI_reset_buffer(), NI_stream_close_keep(), NI_stream_getbuf(), NI_stream_getbufsize(), NI_stream_goodcheck(), NI_stream_hasinput(), NI_stream_open(), NI_stream_read(), NI_stream_readable(), NI_stream_readcheck(), NI_stream_reopen(), NI_stream_seek(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_write(), NI_stream_writeable(), NI_stream_writecheck(), NI_write_columns(), NI_write_element(), NI_write_procins(), scan_for_angles(), and tcp_sigurg_handler(). |
|
Threshold size for binary write. Definition at line 348 of file niml.h. Referenced by NI_stream_open(). |
|
I/O buffer (may be NULL). Definition at line 353 of file niml.h. Referenced by NI_decode_one_double(), NI_decode_one_string(), NI_read_element(), NI_reset_buffer(), NI_stream_clearbuf(), NI_stream_close_keep(), NI_stream_fillbuf(), NI_stream_getbuf(), NI_stream_open(), NI_stream_read(), NI_stream_readbuf(), NI_stream_readbuf64(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_write(), and scan_for_angles(). |
|
Length of buf array. Definition at line 352 of file niml.h. Referenced by NI_stream_clearbuf(), NI_stream_fillbuf(), NI_stream_getbufsize(), NI_stream_open(), NI_stream_readbuf(), NI_stream_readbuf64(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_write(), and scan_for_angles(). |
|
Text, binary, or base64? |
|
FILE only: pointer to open file Definition at line 340 of file niml.h. Referenced by NI_stream_close_keep(), NI_stream_goodcheck(), NI_stream_open(), NI_stream_read(), NI_stream_readcheck(), NI_stream_seek(), NI_stream_write(), and NI_stream_writecheck(). |
|
FILE only: length of file for input Definition at line 341 of file niml.h. Referenced by NI_stream_open(), and NI_stream_readcheck(). |
|
NI_clock_time() of last NI_stream_goodcheck() Definition at line 359 of file niml.h. Referenced by NI_stream_open(). |
|
Input or output? Definition at line 345 of file niml.h. Referenced by NI_stream_clearbuf(), NI_stream_close_keep(), NI_stream_getbuf(), NI_stream_goodcheck(), NI_stream_open(), NI_stream_read(), NI_stream_readable(), NI_stream_readcheck(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_writeable(), and NI_stream_writecheck(). |
|
Hostname or filename Definition at line 343 of file niml.h. Referenced by NI_stream_goodcheck(), NI_stream_name(), NI_stream_open(), and NI_stream_reopen(). |
|
Number of bytes left in buf. Definition at line 350 of file niml.h. Referenced by NI_decode_one_double(), NI_decode_one_string(), NI_reset_buffer(), NI_stream_clearbuf(), NI_stream_fillbuf(), NI_stream_hasinput(), NI_stream_open(), NI_stream_read(), NI_stream_readbuf(), NI_stream_readbuf64(), NI_stream_readcheck(), NI_stream_seek(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_write(), and scan_for_angles(). |
|
Index of next unscanned byte in buf. Definition at line 351 of file niml.h. Referenced by NI_decode_one_double(), NI_decode_one_string(), NI_read_element(), NI_reset_buffer(), NI_stream_hasinput(), NI_stream_open(), NI_stream_read(), NI_stream_readbuf(), NI_stream_readbuf64(), NI_stream_readcheck(), NI_stream_seek(), NI_stream_setbuf(), and scan_for_angles(). |
|
original (input) name when opened Definition at line 357 of file niml.h. Referenced by NI_stream_close_keep(), NI_stream_open(), and NI_stream_reopen(). |
|
TCP only: port number Definition at line 337 of file niml.h. Referenced by NI_stream_goodcheck(), NI_stream_open(), and NI_stream_reopen(). |
|
TCP only: socket descriptor Definition at line 338 of file niml.h. Referenced by NI_stream_close_keep(), NI_stream_goodcheck(), NI_stream_open(), NI_stream_read(), NI_stream_readcheck(), NI_stream_write(), NI_stream_writecheck(), and tcp_sigurg_handler(). |
|
for NI_SHM_TYPE only Definition at line 355 of file niml.h. Referenced by NI_stream_close_keep(), NI_stream_goodcheck(), NI_stream_open(), NI_stream_read(), NI_stream_readcheck(), NI_stream_write(), and NI_stream_writecheck(). |
|
NI_TCP_TYPE, NI_FILE_TYPE, etc. Definition at line 334 of file niml.h. Referenced by NI_stream_clearbuf(), NI_stream_close_keep(), NI_stream_fillbuf(), NI_stream_getbuf(), NI_stream_goodcheck(), NI_stream_open(), NI_stream_read(), NI_stream_readable(), NI_stream_readbuf(), NI_stream_readcheck(), NI_stream_reopen(), NI_stream_seek(), NI_stream_setbuf(), NI_stream_setbufsize(), NI_stream_write(), NI_stream_writeable(), NI_stream_writecheck(), NI_write_columns(), NI_write_element(), and tcp_sigurg_handler(). |
The documentation for this struct was generated from the following file: