Name
yw_conn_state -- check state of connection
Synopsis
int yw_conn_state
(YwConnection *conn);
DESCRIPTION
This function is used to check current state of connection.
yw_strerror(3) function can be used to translate returned value
into human-readable string. yw_conn_get_state(3) function can be
used to return extended information about error, though
it's mainly useful for debugging library itself.
RETURN VALUE
The yw_conn_state() function returns one of YW_ERR_*
values. They are defined in <yw/error.h>.
YW_ERR_OK is 0.
INFO
Generated from: sysconn.c,v 1.11 2001/05/11 10:38:05 malekith Exp.