silc_fd_stream_file
SYNOPSIS
SilcStream silc_fd_stream_file(const char *filename, SilcBool reading, SilcBool writing, SilcStack stack);
DESCRIPTION
Same as silc_fd_stream_create but creates the stream by opening the file indicated by `filename'. If the `reading' is TRUE the file is opened for reading. If the `writing' is TRUE the file is opened for writing. Returns NULL if system is out of memory.
If the silc_stream_set_notifier is called the stream is set to non-blocking mode.
If `stack' is non-NULL all memory is allocated from the `stack' and will be released back to `stack' after the stream is destroyed.