SilcStreamStatus
NAME
typedef enum { ... } SilcStreamStatus;
DESCRIPTION
Stream status. This status is returned into the SilcStreamNotifier
callback function to indicate the status of the stream at a given
moment.
SOURCE
typedef enum {
SILC_STREAM_CAN_READ, /* Data available for reading */
SILC_STREAM_CAN_WRITE, /* Stream ready for writing */
SILC_STREAM_EOS, /* End of stream */
SILC_STREAM_CLOSED, /* Stream is closed */
SILC_STREAM_INVALID, /* Stream is invalid */
SILC_STREAM_NO_MEMORY, /* System out of memory */
SILC_STREAM_ERROR, /* Unknown error */
} SilcStreamStatus;
|