Function silc_fd_stream_file
SYNOPSIS
SilcStream silc_fd_stream_file(const char *filename, SilcBool reading,
SilcBool writing);
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.
If the silc_stream_set_notifier is called the stream is set to
non-blocking mode.
|