CS_DEFAULT_IFILE

The CS_DEFAULT_IFILE property specifies the name of the alternate interfaces file and its path. Unlike the CT-Library property CS_IFILE, CS_DEFAULT_IFILE does not override the use of alternate directory services that have already been specified in the libtcl.cfg file. The primary purpose of CS_DEFAULT_IFILE is to set a new default location for the interfaces file, in case the interfaces file is being used as the directory service.

A CS-Library context must be allocated before calling cs_config() and it must be passed in cs_config() while setting the CS_DEFAULT_IFILE property.

Example

ret = cs_config(ctx, CS_SET, CS_DEFAULT_IFILE,
"/work/NewSybase/interfaces", CS_NULLTERM, NULL);