3 #ifndef __uwe_project_h
4 #define __uwe_project_h
8 #include <mix/portability.h>
13 #define WE_PROJECT_ENV "PROJECT"
17 #define WE_DSNAME_ENV "UDB_DSNAME"
22 #define WE_LOGDEST_ENV "ULOGDEST"
24 #define WE_LOGDEST_STDLOG_STR "stdlog"
25 #define WE_LOGDEST_STDERR_STR "stderr"
26 #define WE_LOGDEST_STDOUT_STR "stdout"
28 #define WE_LOGDEST_STDLOG_BIT (1<<0)
29 #define WE_LOGDEST_STDERR_BIT (1<<1)
30 #define WE_LOGDEST_STDOUT_BIT (1<<2)
58 UNIVERS_API
const char* CALLSPEC UweProject ();
62 UNIVERS_API ErrCode CALLSPEC UweGetProjectInfo (
UweProjectInfo* pProjInfo);
66 UNIVERS_API
long CALLSPEC UweGetProjectSize (
const char* szProject);
71 UNIVERS_API ErrCode CALLSPEC UweChangeProject (
const char* szProject);
75 UNIVERS_API ErrCode CALLSPEC UweGetListOfProjects (
int* n,
79 UNIVERS_API ErrCode CALLSPEC UweCreateProject (
const char *szDSPath,
80 const char *szProject);
83 UNIVERS_API ErrCode CALLSPEC UweDeleteProject (
const char *szDSPath,
84 const char *szProject);
93 UNIVERS_API
void CALLSPEC UweAppInitialize (
const char* szAppName,
94 int argc, STRLIST argv);
98 UNIVERS_API
void CALLSPEC UweNewJob ();
101 UNIVERS_API
int CALLSPEC UweJobNumber ();
105 UNIVERS_API
void CALLSPEC UweEventTakePlace ();
108 UNIVERS_API
int CALLSPEC UweEventsNumber ();
115 UNIVERS_API
int CALLSPEC UweMakeAppHit (
const char* szProject,
116 const char* szApplication);
120 UNIVERS_API
void CALLSPEC UweFreeProjectInfo (
UweProjectInfo* pInfo);
137 UNIVERS_API
DirEntryItem* CALLSPEC UweBuildDirList (
const char* szDirPath,
138 PortDirCB ifSelected,
145 UNIVERS_API
DirEntryItem* CALLSPEC UweBuildSeismicList (
const char* szDirPath,
148 #ifndef __uwe_project_vars
152 extern FILE *fpCurLog;
159 #define stdlog fpCurLog
Definition: uwe_project.h:37
char * szProject
Definition: uwe_project.h:39
char * szDSName
Definition: uwe_project.h:40
Definition: PortableDirs.h:63
int dbVersion
Definition: uwe_project.h:41