Daylight v4.9 Release Date: 1 February 2008 Namedt_setsearchpath - specify the search path used for database lookupGeneric Prototypedt_setsearchpath(dt_Handle, dt_String, dt_String, dt_Integer) => dt_BooleanC Prototype#include "dt_thor.h"dt_Boolean dt_setsearchpath(dt_Handle server, dt_Integer alen, dt_String auth_pw, dt_Integer plen, dt_String path, dt_Integer replace) FORTRAN Prototypeinclude 'dt_f_thor.inc'logical dt_f_setsearchpath(server, auth_pw, path, replace)
integer*4 server
DescriptionChanges the servers search path. The parameter 'auth_pw' must be the current password for user "thor". The parameter 'path' contains one or more directories (multiples are separated by whitespace - space, tab, <cr>, <lf>). The directories must be specified in a format appropriate for the operating system of the server.If 'replace' is FALSE, appends the directories in 'path' to the existing path. If 'replace' is TRUE, the search path replaces the existing path. It is legal for 'path' to be an empty string. In this case, if 'replace' is TRUE, the search path is cleared and databases must be referenced by their complete names. Return ValueReturns the success (TRUE) or failure (FALSE) of the operation.Related Topicsdt_database(3) dt_getdatabases(3) dt_getpasswords(3) dt_getsearchpath(3) dt_getusers(3) dt_server(3) |