dc887aad71
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 01.05 patch 282 git-svn-id: svn://10.65.10.50/trunk@8032 c028cbd2-c16b-5b4b-a496-9718f37d4682
85 lines
2.2 KiB
C
Executable File
85 lines
2.2 KiB
C
Executable File
#ifndef __EXTCDECL_H
|
|
#define __EXTCDECL_H
|
|
|
|
#ifndef __EXTCTYPE_H
|
|
#include <extctype.h>
|
|
#endif
|
|
|
|
/* @(:) 2.3.01.178 */
|
|
#define MAXCKEY 5
|
|
#define MAXCLEN 10
|
|
#define MAXENTRYNAME 16
|
|
#define MAXTENTRY 48
|
|
/* @(!) 2.3.01.temp */
|
|
#define MAXENTRYSIZE 4096
|
|
/* @(:) 2.3.01.temp */
|
|
#define MAXDISPCOLS 4
|
|
#define CONFFILE "conf.gen"
|
|
|
|
/* @DES Funzioni C esterne. Sorgenti in /disk1/p.uno */
|
|
|
|
extern "C" {
|
|
|
|
/* @DPUB */
|
|
extern SecDef fdir[2], rdir[2];
|
|
extern int dirfl[2], recfl[2];
|
|
extern short formflag;
|
|
extern int SerNo;
|
|
extern word ModAd;
|
|
extern word _int_tab0[4];
|
|
extern PathSt __ptprf;
|
|
|
|
// Guy moved these outside extern
|
|
extern Str80 cprefix;
|
|
|
|
/* @END */
|
|
|
|
/* @FPUB */
|
|
// definite in isam.cpp
|
|
int hashfun(const char *);
|
|
int findfld(const RecDes *, const char *);
|
|
|
|
// TDitta *CGetDitta(char *);
|
|
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 *);
|
|
void CRead(SecDef *, RecType, RecNoType, unsigned );
|
|
void CLockRec(SecDef *, RecNoType, unsigned);
|
|
void CWrite(SecDef *,RecType,RecNoType ,unsigned );
|
|
int excllock(char *, short);
|
|
int exclunlock(char *, short);
|
|
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 *);
|
|
const char* CGetPrawinName(void);
|
|
char *CAddPref(char *);
|
|
const char* CGetPref(void);
|
|
void CPutPref(const char *);
|
|
char *CInsPref(char *, int);
|
|
char *CGetIdxName(char *);
|
|
int init_sort(struct s_prm *);
|
|
void sort(char *);
|
|
char *sort_op(void);
|
|
void sort_stats(void);
|
|
|
|
/* @END */
|
|
};
|
|
|
|
#endif // __EXTCDECL_H
|