iphreeqc/fwrap.h
Scott R Charlton da893cd778 need to test on linux
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4165 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2010-03-18 03:21:45 +00:00

56 lines
1.1 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 RunF(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);
void OutputLastErrorF(void);
void OutputLinesF(void);
#if defined(__cplusplus)
}
#endif
#endif /* __FWRAP__H */