623#ifndef INC_FLCRECLB_H
624#define INC_FLCRECLB_H
634# define FCR_READ_FILE FLC_READ_FILE
635# define FCR_READ_FORMAT FLC_READ_FORMAT
636# define FCR_WRITE_FILE FLC_WRITE_FILE
637# define FCR_WRITE_FORMAT FLC_WRITE_FORMAT
638# define FCR_CONV_READ FLC_CONV_READ
639# define FCR_CONV_WRITE FLC_CONV_WRITE
640# define FCR_INPUT_FILE FLC_INPUT_FILE
641# define FCR_OUTPUT_FILE FLC_OUTPUT_FILE
642# define FCR_INFO FLC_INFO
643# define FCR_STATE FLC_STATE
644# define FCR_LOG FLC_LOG
648# define PFIX(n) _mf_ ## n
649# define FCRVSN PFIX(FCRVSN)
650# define FCRABO PFIX(FCRABO)
651# define FCRLIC PFIX(FCRLIC)
652# define FCRHLP PFIX(FCRHLP)
653# define FCRSYN PFIX(FCRSYN)
654# define FCRMSG PFIX(FCRMSG)
655# define FCRTRC PFIX(FCRTRC)
656# define FCRINF PFIX(FCRINF)
657# define FCROPN PFIX(FCROPN)
658# define FCRNEWM PFIX(FCRNEWM)
659# define FCROPNV PFIX(FCROPNV)
660# define FCRPUT PFIX(FCRPUT)
661# define FCRPUTV PFIX(FCRPUTV)
662# define FCRCNT PFIX(FCRCNT)
663# define FCRFLU PFIX(FCRFLU)
664# define FCRGET PFIX(FCRGET)
665# define FCRGETV PFIX(FCRGETV)
666# define FCRLOC PFIX(FCRLOC)
667# define FCRLOCV PFIX(FCRLOCV)
668# define FCRPRV PFIX(FCRPRV)
669# define FCRCONV PFIX(FCRCONV)
670# define FCRRUNV PFIX(FCRRUNV)
671# define FCRFINV PFIX(FCRFINV)
672# define FCRCONP PFIX(FCRCONP)
673# define FCRRUNP PFIX(FCRRUNP)
674# define FCRFINP PFIX(FCRFINP)
675# define FCRCLS PFIX(FCRCLS)
676# define FCRCLSV PFIX(FCRCLSV)
677# define FCRCLR PFIX(FCRCLR)
678# define FCRGFN PFIX(FCRGFN)
679# define FCRGTN PFIX(FCRGTN)
680# define FCRSTN PFIX(FCRSTN)
681# define FCRENV PFIX(FCRENV)
682# define FCRSYM PFIX(FCRSYM)
683# define FCROPNL PFIX(FCROPNL)
684# define FCRGETL PFIX(FCRGETL)
685# define FCRCPYL PFIX(FCRCPYL)
686# define FCRCLRL PFIX(FCRCLRL)
687# define FCRCLSL PFIX(FCRCLSL)
688# define FCRCPY PFIX(FCRCPY)
689# define FCRPTR PFIX(FCRPTR)
690# define FCRHASH PFIX(FCRHASH)
691# define FCRHINI PFIX(FCRHINI)
692# define FCRHADD PFIX(FCRHADD)
693# define FCRHFIN PFIX(FCRHFIN)
694# define FCRBASE PFIX(FCRBASE)
695# define FCRBINI PFIX(FCRBINI)
696# define FCRBRUN PFIX(FCRBRUN)
697# define FCRBFIN PFIX(FCRBFIN)
700# define FCRVSN fcrvsn
701# define FCRABO fcrabo
702# define FCRLIC fcrlic
703# define FCRHLP fcrhlp
704# define FCRSYN fcrsyn
705# define FCRMSG fcrmsg
706# define FCRTRC fcrtrc
707# define FCRINF fcrinf
708# define FCROPN fcropn
709# define FCRNEWM fcrnewm
710# define FCROPNV fcropnv
711# define FCRPUT fcrput
712# define FCRPUTV fcrputv
713# define FCRFLU fcrflu
714# define FCRCNT fcrcnt
715# define FCRGET fcrget
716# define FCRGETV fcrgetv
717# define FCRLOC fcrloc
718# define FCRLOCV fcrlocv
719# define FCRPRV fcrprv
720# define FCRCONV fcrconv
721# define FCRRUNV fcrrunv
722# define FCRFINV fcrfinv
723# define FCRCONP fcrconp
724# define FCRRUNP fcrrunp
725# define FCRFINP fcrfinp
726# define FCRCLS fcrcls
727# define FCRCLSV fcrclsv
728# define FCRCLR fcrclr
729# define FCRGFN fcrgfn
730# define FCRGTN fcrgtn
731# define FCRSTN fcrstn
732# define FCRENV fcrenv
733# define FCRSYM fcrsym
734# define FCROPNL fcropnl
735# define FCRGETL fcrgetl
736# define FCRCPYL fcrcpyl
737# define FCRCLRL fcrclrl
738# define FCRCLSL fcrclsl
739# define FCRCPY fcrcpy
740# define FCRPTR fcrptr
741# define FCRHASH fcrhash
742# define FCRHINI fcrhini
743# define FCRHADD fcrhadd
744# define FCRHFIN fcrhfin
745# define FCRBASE fcrbase
746# define FCRBINI fcrbini
747# define FCRBRUN fcrbrun
748# define FCRBFIN fcrbfin
986extern void FCRENV(
int* rtc,
const int* sys,
const int* std,
const int* envLen,
const char* envStr,
int* cnt);
1004extern void FCRSYM(
int* rtc,
const int* inpLen,
const char* inpStr,
int* outLen,
char* outStr);
1035extern void FCROPNL(
int* rtc,
const int* strLen,
const char* logStr);
1050extern void FCRGETL(
int* maxCod,
int* bufLen,
const char** buffer);
1066extern void FCRCPYL(
int* maxCod,
int* bufLen,
char* buffer);
1133 const char* infoStr,
1294 const char* fileStr,
1295 const int* formatLen,
1296 const char* formatStr,
1380 const char* convStr);
1415 const int* formatLen,
1416 const char* formatStr,
1417 const int* stateLen,
1418 const char* stateStr,
2285 long long int* val);
2318 const unsigned int* mode,
2319 const unsigned int* base,
2320 const unsigned int* chrs);
2344 const unsigned int* datlen,
2345 const unsigned char* dat,
2346 unsigned char* out);
2370 const unsigned int* datlen,
2371 const unsigned char* dat,
2372 unsigned char* out);
2396 const unsigned int* mode,
2397 const unsigned int* base,
2398 const unsigned int* chrs,
2399 const unsigned int* datlen,
2400 const unsigned char* dat,
2401 unsigned char* out);
2439 const unsigned int* hmtd,
2440 const unsigned int* kmtd,
2441 const unsigned int* keylen,
2442 const unsigned char* key,
2443 const unsigned int* icvlen,
2444 const unsigned char* icv);
2465 const unsigned int* datlen,
2466 const unsigned char* dat);
2491 unsigned int* hshlen,
2492 unsigned char* hsh);
2523 const unsigned int* hmtd,
2524 const unsigned int* kmtd,
2525 const unsigned int* keylen,
2526 const unsigned char* key,
2527 const unsigned int* icvlen,
2528 const unsigned char* icv,
2529 const unsigned int* datlen,
2530 const unsigned char* dat,
2531 unsigned int* hshlen,
2532 unsigned char* hsh);
FLMDEF - External FLAM definitions.
FLMRTC - FLAM-Return-Codes.
void FCRSTN(void **hdl, int *rtc, const int *length, const char *name)
Set table name.
void FCRCONP(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char **out)
Converts element data (with locate)
void FCROPN(void **hdl, int *rtc, const int *fileLen, const char *fileStr, const int *formatLen, const char *formatStr, int *stateLen, char *stateStr)
Opens a file.
void FCRGTN(void **hdl, int *rtc, int *length, char *name)
Get table name.
int FCRBINI(void **hdl, const unsigned int *mode, const unsigned int *base, const unsigned int *chrs)
Initialize base encoding or decoding.
void FCRVSN(int *rtc, int *vsnLen, char *vsn)
Retrieves the version string.
void FCRGETV(void **hdl, int *rtc, int *recLen, char *rec, void **cnv, int *skip)
Reads one element with conversion.
void FCRFLU(void **hdl, int *rtc)
Flush internal buffers.
int FCRHADD(void **hdl, const unsigned int *datlen, const unsigned char *dat)
Add a junk of data to the hash calculation buffer.
void FCRPRV(void **hdl, int *rtc)
Sets the read position to the previous record or element.
void FCRNEWM(void **hdl, int *rtc, const int *formatLen, const char *formatStr, const int *stateLen, const char *stateStr, const int *format, int *buflen, char *buffer)
Start with a new member in an open file.
void FCRCLS(void **hdl, int *rtc, const int *success, const int *format, int *buflen, char *buffer)
Closes a file.
void FCRCLSV(void **cnv, int *rtc)
Closes a converter.
void FCROPNL(int *rtc, const int *strLen, const char *logStr)
Open global facility for memory logging.
void FCRFINP(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char **out)
Finish conversion of dependent data blocks (with locate)
void FCRCLR(void **hdl)
Clear error information.
void FCRCLRL(int *maxCod)
Clear the log information.
void FCRCPYL(int *maxCod, int *bufLen, char *buffer)
Copies log information to a provided buffer.
void FCRLOC(void **hdl, int *rtc, int *recLen, char **rec)
Locates one record or element (without own buffer)
void FCRABO(int *rtc, int *aboLen, char *abo)
Retrieves the about string.
int FCRHFIN(void **hdl, unsigned int *hshlen, unsigned char *hsh)
Finalize hash calculation.
void FCRHLP(int *rtc, const int *what, const int *depth, const int *pathLen, const char *path, int *outLen, char *out)
Returns help information about the file, format, state and info strings.
void FCRCPY(const int *len, const char *ptr, char *dat)
Copy a memory area (MF-EDZ pointer handling workaround)
void FCRFINV(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char *out)
Finish conversion of dependent data blocks (with copy)
void FCRCNT(void **hdl, int *rtc, const int *dir, const int *wht, const int *knd, long long int *val)
Determine current amount of processed data.
void FCRINF(int *rtc, const int *infoLen, const char *infoStr, const int *format, int *buflen, char *buffer)
Provides various information.
void FCRSYN(int *rtc, const int *what, const int *depth, const int *pathLen, const char *path, int *outLen, char *out)
Returns syntax information about the file, format, state and info strings.
void FCRMSG(int *rtc, const int *code, int *msgLen, char *msg)
Retrieves an error message.
void FCRGFN(void **hdl, int *rtc, const int ind, int *length, char *name)
Get file name.
int FCRBRUN(void **hdl, const unsigned int *datlen, const unsigned char *dat, unsigned char *out)
En- or Decode a junk of data.
void FCRRUNP(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char **out)
Converts dependent data blocks (with locate)
void FCRSYM(int *rtc, const int *inpLen, const char *inpStr, int *outLen, char *outStr)
Determines a symbol from environment.
void FCRCLSL(int *maxCod)
Close the global logging facility.
void FCRGETL(int *maxCod, int *bufLen, const char **buffer)
Get log information.
void FCRPTR(const char *dat, const char **ptr)
Convert pointer to native format (MF-EDZ pointer handling workaround)
void FCRPUTV(void **hdl, int *rtc, const int *recLen, const char *rec, void **cnv)
Writes one element with conversion.
int FCRBASE(const unsigned int *mode, const unsigned int *base, const unsigned int *chrs, const unsigned int *datlen, const unsigned char *dat, unsigned char *out)
Base encoding or decoding for one message.
void FCRRUNV(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char *out)
Converts dependent data blocks (with copy)
void FCRGET(void **hdl, int *rtc, int *recLen, char *rec)
Reads one record or element.
int FCRHASH(const unsigned int *hmtd, const unsigned int *kmtd, const unsigned int *keylen, const unsigned char *key, const unsigned int *icvlen, const unsigned char *icv, const unsigned int *datlen, const unsigned char *dat, unsigned int *hshlen, unsigned char *hsh)
Calculate hash for one message.
void FCRLOCV(void **hdl, int *rtc, int *recLen, char **rec, void **cnv, int *skip)
Reads one element with conversion (without own buffer)
void FCRPUT(void **hdl, int *rtc, const int *recLen, const char *rec)
Writes one record or element.
void FCROPNV(void **hdl, void **cnv, int *rtc, const int *convLen, const char *convStr)
Opens a converter.
void FCRLIC(int *rtc, int *licLen, char *lic)
Gets the license text.
int FCRBFIN(void **hdl, const unsigned int *datlen, const unsigned char *dat, unsigned char *out)
Finalize en- or decoding.
void FCRTRC(int *rtc, const int *code, int *trcLen, char *trc)
Error trace.
void FCRCONV(void **cnv, int *rtc, const int *inpLen, const char *inp, int *outLen, char *out)
Converts element data (with copy)
void FCRENV(int *rtc, const int *sys, const int *std, const int *envLen, const char *envStr, int *cnt)
Load the FLAM environment.
int FCRHINI(void **hdl, const unsigned int *hmtd, const unsigned int *kmtd, const unsigned int *keylen, const unsigned char *key, const unsigned int *icvlen, const unsigned char *icv)
Initialize hash calculation.