mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4186 1feff8c3-07ed-0310-ac33-dd36852eb9cd
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
#ifndef __FWRAP__H
|
|
#define __FWRAP__H
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
int LoadDatabaseF(char* filename, unsigned int filename_length);
|
|
|
|
VRESULT AccumulateLineF(char *line, unsigned int line_length);
|
|
|
|
int RunAccumulatedF(void);
|
|
|
|
int RunFileF(char* filename, unsigned int filename_length);
|
|
|
|
int RunStringF(char* input, unsigned int input_length);
|
|
|
|
int GetSelectedOutputRowCountF(void);
|
|
|
|
int GetSelectedOutputColumnCountF(void);
|
|
|
|
VRESULT GetSelectedOutputValueF(int *row, int *col, int *vtype, double* dvalue, char* svalue, unsigned int svalue_length);
|
|
|
|
void SetSelectedOutputOnF(int* selected_output_on);
|
|
|
|
void SetOutputOnF(int* output_on);
|
|
|
|
void SetErrorOnF(int* error_on);
|
|
|
|
void SetLogOnF(int* log_on);
|
|
|
|
void SetDumpOnF(int* dump_on);
|
|
|
|
void SetDumpStringOnF(int* dump_string_on);
|
|
|
|
int GetDumpLineCountF(void);
|
|
|
|
void GetDumpLineF(int* n, char* line, unsigned int line_length);
|
|
|
|
int GetErrorLineCountF(void);
|
|
|
|
void GetErrorLineF(int* n, char* line, unsigned int line_length);
|
|
|
|
int GetComponentCountF(void);
|
|
|
|
void GetComponentF(int* n, char* line, unsigned int line_length);
|
|
|
|
void OutputLastErrorF(void);
|
|
|
|
void OutputLinesF(void);
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* __FWRAP__H */
|