FCPE-SPI
FLAM Column Processing Exit (FCPE) Service Provider Interface (SPI)
FCPE.h
Go to the documentation of this file.
1
210#ifdef __cplusplus
211 extern "C" {
212#endif
213
214#ifndef INC_FCPE_H
215#define INC_FCPE_H
218/**********************************************************************/
219
220#include"FLMRTC.h"
221#include"FLMDEF.h"
222
223/**********************************************************************/
224
236#define FCPE_FUNC_OPN 1
237#define FCPE_FUNC_RUN 2
238#define FCPE_FUNC_CLS 3
250#define FCPE_DEFLIB_NAME "libfcpe"
251#define FCPE_DEFFUC_NAME "FLAMCPE"
263#define FCPE_CMBFRM_NON 0U
264#define FCPE_CMBFRM_NFD 1U
265#define FCPE_CMBFRM_NFC 2U
276 #define FCPE_FLAG_WRITE 0x00000001U
277 #define FCPE_FLAG_NOCPY 0x00000002U
280/**********************************************************************/
281
324typedef struct FcpeOpn {
326 unsigned int uiFlg;
328 unsigned int uiCcs;
330 unsigned int uiTab;
332 unsigned int uiDy1;
334 const char* pcTab;
336 unsigned int uiCol;
338 unsigned int uiDy2;
340 const char* pcCol;
342 unsigned int uiPar;
344 unsigned int uiDy3;
346 const char* pcPar;
348 unsigned int uiIvr;
350 unsigned int uiDy4;
352 char* pcIvr;
354 unsigned int uiMsg;
356 unsigned int uiDy5;
358 char acMsg[1024];
360
401typedef struct FcpeRun {
403 unsigned int uiInp;
405 unsigned int uiDy1;
407 unsigned char* pcInp;
409 unsigned int uiOut;
411 unsigned int uiDy2;
413 unsigned char* pcOut;
415 unsigned int uiFlg;
417 unsigned int uiMsg;
419 char acMsg[1024];
421
432typedef struct FcpeCls {
434 unsigned int uiMsg;
436 unsigned int uiDy1;
438 char acMsg[1024];
440
458/**********************************************************************/
459
485typedef void (TfFcpExit)(
486 void** ppHdl,
487 int* piRetco,
488 const int* piFunc,
489 TuFcpePar* puPara);
492/**********************************************************************/
493
495#endif /* INC_FCPE_H */
496
497#ifdef __cplusplus
498 }
499#endif
FLMDEF - External FLAM definitions.
FLMRTC - FLAM-Return-Codes.
struct FcpeOpn TsFcpeOpn
FCPE parameter structure for function code FCPE_FUNC_OPN.
struct FcpeRun TsFcpeRun
FCPE Run structure.
union FcpePar TuFcpePar
FCPE Union of function structures.
struct FcpeCls TsFcpeCls
FCPE Close structure.
void TfFcpExit(void **ppHdl, int *piRetco, const int *piFunc, TuFcpePar *puPara)
FCPE function.
Definition FCPE.h:485
FCPE Close structure.
Definition FCPE.h:432
unsigned int uiMsg
[OUTPUT] Length of error message (32 bit word)
Definition FCPE.h:434
char acMsg[1024]
[OUTPUT] Maximal 1024 byte long error string
Definition FCPE.h:438
unsigned int uiDy1
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:436
FCPE parameter structure for function code FCPE_FUNC_OPN.
Definition FCPE.h:324
unsigned int uiTab
[INPUT] Length of the table name (32 bit word)
Definition FCPE.h:330
unsigned int uiFlg
[INOUT] Flag word (32 bit) with several bit settings
Definition FCPE.h:326
unsigned int uiDy5
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:356
char acMsg[1024]
[OUTPUT] Maximal 1024 byte long error string
Definition FCPE.h:358
unsigned int uiIvr
[OUTPUT] Length of the inverse parameter string (32 bit word)
Definition FCPE.h:348
unsigned int uiDy1
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:332
char * pcIvr
[OUTPUT] Pointer to the inverse parameter string (32 or 64 bit)
Definition FCPE.h:352
unsigned int uiPar
[INPUT] Length of the parameter string (32 bit word)
Definition FCPE.h:342
unsigned int uiDy2
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:338
unsigned int uiCcs
[INOUT] CCSID in first low order 24 bit and the and combined character form in the high order 8 bit
Definition FCPE.h:328
unsigned int uiMsg
[OUTPUT] Length of error message (32 bit word)
Definition FCPE.h:354
const char * pcCol
[INPUT] Pointer to the column name (32 or 64 bit)
Definition FCPE.h:340
unsigned int uiCol
[INPUT] Length of the column name (32 bit word)
Definition FCPE.h:336
unsigned int uiDy3
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:344
const char * pcTab
[INPUT] Pointer to the table name (32 or 64 bit)
Definition FCPE.h:334
unsigned int uiDy4
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:350
const char * pcPar
[INPUT] Pointer to the parameter string (32 or 64 bit)
Definition FCPE.h:346
FCPE Run structure.
Definition FCPE.h:401
unsigned int uiDy1
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:405
unsigned char * pcInp
[INPUT] Pointer to the input data (32 or 64 bit)
Definition FCPE.h:407
unsigned int uiOut
[INOUT] Output space at input and output length at output (32 bit word)
Definition FCPE.h:409
unsigned int uiDy2
[DUMMY] 32 bit dummy field for 64 bit alignment
Definition FCPE.h:411
unsigned int uiFlg
[INOUT] Flag word for null, empty and other indications (32 bit word) (output at read,...
Definition FCPE.h:415
unsigned char * pcOut
[OUTPUT] Pointer to the output data (32 or 64 bit)
Definition FCPE.h:413
char acMsg[1024]
[OUTPUT] Maximal 1024 byte long error string
Definition FCPE.h:419
unsigned int uiInp
[INPUT] Length of the input data (32 bit word)
Definition FCPE.h:403
unsigned int uiMsg
[OUTPUT] Length of error message (32 bit word)
Definition FCPE.h:417
FCPE Union of function structures.
Definition FCPE.h:448
TsFcpeRun stRun
[INOUT] Structure for function code FCPE_FUNC_RUN
Definition FCPE.h:452
TsFcpeOpn stOpn
[INOUT] Structure for function code FCPE_FUNC_OPN
Definition FCPE.h:450
TsFcpeCls stCls
[INOUT] Structure for function code FCPE_FUNC_CLS
Definition FCPE.h:454