1994-08-12 10:52:49 +00:00
|
|
|
#ifndef __EXTCDECL_H
|
|
|
|
#define __EXTCDECL_H
|
|
|
|
|
|
|
|
#ifndef __EXTCTYPE_H
|
|
|
|
#include <extctype.h>
|
|
|
|
#endif
|
1998-02-13 13:50:39 +00:00
|
|
|
|
2003-05-07 13:06:50 +00:00
|
|
|
/* @DES Funzioni C esterne. */
|
1994-08-12 10:52:49 +00:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
1994-09-22 16:47:50 +00:00
|
|
|
/* @DPUB */
|
|
|
|
extern SecDef fdir[2], rdir[2];
|
|
|
|
extern int dirfl[2], recfl[2];
|
|
|
|
extern short formflag;
|
|
|
|
extern int SerNo;
|
|
|
|
extern word ModAd;
|
1996-09-26 15:26:47 +00:00
|
|
|
extern word _int_tab0[4];
|
1998-03-05 13:54:51 +00:00
|
|
|
extern PathSt __ptprf;
|
1994-08-12 10:52:49 +00:00
|
|
|
|
1994-09-22 16:47:50 +00:00
|
|
|
// Guy moved these outside extern
|
|
|
|
extern Str80 cprefix;
|
1994-08-12 10:52:49 +00:00
|
|
|
|
1994-09-22 16:47:50 +00:00
|
|
|
/* @END */
|
1994-08-12 10:52:49 +00:00
|
|
|
|
1996-09-26 15:26:47 +00:00
|
|
|
/* @FPUB */
|
|
|
|
// definite in isam.cpp
|
|
|
|
int hashfun(const char *);
|
|
|
|
int findfld(const RecDes *, const char *);
|
1998-03-05 13:54:51 +00:00
|
|
|
|
|
|
|
// TDitta *CGetDitta(char *);
|
1994-08-12 10:52:49 +00:00
|
|
|
short CGetAut(int );
|
|
|
|
char *CGetConf(int );
|
|
|
|
word getser(void);
|
|
|
|
void CVerify(SecDef *,char *);
|
|
|
|
void COpen(SecDef *,char *, unsigned, unsigned, unsigned);
|
|
|
|
void CCreate(SecDef *,char *,unsigned ,unsigned ,RecNoType);
|
|
|
|
void CChsize(SecDef *,char *,unsigned ,unsigned ,RecNoType);
|
|
|
|
void CClose(SecDef *);
|
|
|
|
void CDelete(SecDef *,char *);
|
1994-09-22 16:47:50 +00:00
|
|
|
void CRead(SecDef *, RecType, RecNoType, unsigned );
|
|
|
|
void CLockRec(SecDef *, RecNoType, unsigned);
|
1994-08-12 10:52:49 +00:00
|
|
|
void CWrite(SecDef *,RecType,RecNoType ,unsigned );
|
1994-09-22 16:47:50 +00:00
|
|
|
int excllock(char *, short);
|
|
|
|
int exclunlock(char *, short);
|
1994-08-12 10:52:49 +00:00
|
|
|
void COpenDir(int, int);
|
|
|
|
void CCloseDir(int);
|
|
|
|
void COpenFile(int, FileDes *, int, int);
|
|
|
|
void CCloseFile(int, FileDes *, int);
|
|
|
|
void CGetFile(int, FileDes *, int, int);
|
|
|
|
void CPutFile(int, FileDes *, int);
|
|
|
|
void zerofdes(FileDes *);
|
|
|
|
void COpenRecDir(int, int);
|
|
|
|
void CCloseRecDir(int);
|
|
|
|
void CGetRec(int, RecDes *, int);
|
|
|
|
void CPutRec(int, RecDes *, int);
|
|
|
|
void zerordes(RecDes *);
|
|
|
|
word setrdes(RecDes *);
|
1996-09-26 15:26:47 +00:00
|
|
|
char *CAddPref(char *);
|
2003-05-07 13:06:50 +00:00
|
|
|
const char* CGetCampoIni(void);
|
1997-12-02 13:21:19 +00:00
|
|
|
const char* CGetPref(void);
|
|
|
|
void CPutPref(const char *);
|
1994-08-12 10:52:49 +00:00
|
|
|
char *CInsPref(char *, int);
|
|
|
|
int init_sort(struct s_prm *);
|
|
|
|
void sort(char *);
|
|
|
|
char *sort_op(void);
|
|
|
|
void sort_stats(void);
|
|
|
|
|
1994-09-22 16:47:50 +00:00
|
|
|
/* @END */
|
1994-08-12 10:52:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __EXTCDECL_H
|