mSQLBase API(3)

NAME
sqldbn - Database Names

SYNOPSIS
#include <sql.h>

SQLTAPI sqldbn( serverid, buffer, length )

SQLTDAP serverid     /* Server identifier  */
SQLTDAP buffer       /* Directory list     */
SQLTDAL length       /* Buffer length      */

DESCRIPTION
This function returns a list of the databases on the specified server.

serverid: A pointer to a null-terminated string that contains the name of the server. Specifiy a null server name to get a directory of local databases.

buffer: A pointer to the variable where this function returns the database names. Each name is null-terminated. The end of the list is marked by an extra null-terminator.

length: The length of the area pointed to by buffer.

SEE ALSO
sqldbt(3)

SQLBase - SQL Application Programming Interface.
Version 6.0
Gupta Technologies, Inc.

AUTHOR
mSQLBase API has been written by
Klaus Thiele
kth@oblib.teuto.de
65510 Huenstetten, Germany.