![]() | ![]() |
Home |
|
|
Open Client Client-Library/C Reference Manual |
|
| Chapter 3 Routines |
|
| ct_config |
|
| Examples |
Example 1
/* Set the input/output type to asynchronous */
CS_INT propvalue;
if (retcode == CS_SUCCEED)
{propvalue = CS_ASYNC_IO;
retcode = ct_config(*context, CS_SET, CS_NETIO,
(CS_VOID *)&propvalue, CS_UNUSED, NULL);
if (retcode != CS_SUCCEED)
{ ex_error("ex_init: ct_config(netio) failed");}
}
This code excerpt is based on code in the exutils.c example program.
|
|