yw_conn_set_flag

Name

yw_conn_set_flag -- set various connection parameters

Synopsis


     #include <yw/sock.h>
   

int yw_conn_set_flag(YwConnection *conn, const char *name, const char *val);

DESCRIPTION

Set flag name for connection conn to value val.

Tristate flag is one of "yes", "no" or "maybe", and always defaults to "maybe", which means not to require feature, but use it if available.

PRNG is Pseudo-Random Number Generator. The one used in libyw implementation is good one, using MD5 hash on big entropy pool. See yw_random_add(3) for more details.

Flags defined at the moment:

RETURN VALUE

This function returns 0 for success or one of the following values in case of error:

SEE ALSO

yw_conn_new (3), yw_conn_open (3), getenv (3),

INFO

Generated from: flags.c,v 1.3 2001/05/04 11:04:23 malekith Exp.