UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Attributes | List of all members
UweDataSourceInfo Struct Reference

#include <uwe_datasource.h>

Public Attributes

char * szDSName
 
int dbVersion
 
Logic bMounted
 
Logic bShown
 
char * szDBLoc
 
char * szAltDBLoc
 
char * szDrvName
 
char * szConnOptions
 
char * szDrvOptions
 
int nProjList
 
STRLIST lszProjList
 

Detailed Description

Information about data source. Functions UweScanDSFirst() and UweScanDSNext() do not allocate memory for strings and

Member Data Documentation

Logic UweDataSourceInfo::bMounted

TRUE means accessible data source; FALSE

  • not accessible one (not mounted). Not mounted data sources always have negative (unknown) number of projects even if they are shown.
Logic UweDataSourceInfo::bShown

TRUE means to display projects from data source to user by default; FALSE - hide all projects of this data source from user.

int UweDataSourceInfo::dbVersion

Version of DB; usually 40 for old projects based on 'setup' file, 50 for multi-FS LDB with separated headers, 60 for UDB with arbitrary DB engine encapsulated by driver.

STRLIST UweDataSourceInfo::lszProjList

List of project names. May be NULL. Project names are not sorted, they have natural (internal) FS order.

int UweDataSourceInfo::nProjList

Number of projects in the list. May be -1 in case of unsupported version of DB (dbVersion>=60), passive DS or invalid or inaccessible DS location.

char* UweDataSourceInfo::szAltDBLoc

Alternative DB location (for SMB shares). May be NULL. Allocated by stralloc().

char* UweDataSourceInfo::szConnOptions

Reserved; always NULL

char* UweDataSourceInfo::szDBLoc

Main data base location. May be NULL. Allocated by stralloc().

char* UweDataSourceInfo::szDrvName

Reserved; always NULL

char* UweDataSourceInfo::szDrvOptions

Reserved; always NULL

char* UweDataSourceInfo::szDSName

Name of data source ("setup" for version 4.x). Allocated by stralloc().


The documentation for this struct was generated from the following file: