campo-sirio/cb5/x4filter.h
alex a0f5e0898b This commit was generated by cvs2svn to compensate for changes in r975,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.65.10.50/trunk@976 c028cbd2-c16b-5b4b-a496-9718f37d4682
1995-02-06 15:33:45 +00:00

38 lines
1.2 KiB
C
Executable File

/* x4filter.h (c)Copyright Sequiter Software Inc., 1990-1992. All rights reserved. */
typedef int S4CALL X4FUNCTION( void S4PTR * ) ;
#ifdef S4DLL
#define x4init( p1, p2, p3, p4 ) x4init_work( p1, p2, (X4FUNCTION S4PTR *) MakeProcInstance((FARPROC) p3, p2->code_base->hInst), p4 )
#else
#define x4init( p1, p2, p3, p4 ) x4init_work( p1, p2, p3, p4 )
#endif
typedef struct
{
DATA4 S4PTR *data ;
X4FUNCTION *routine ;
void S4PTR *routine_data ;
} X4FILTER ;
#ifdef __cplusplus
extern "C" {
#endif
int x4filter_go_eof( X4FILTER S4PTR * ) ;
int x4find_good( X4FILTER S4PTR *, int) ; /* Go to the first legitimate record, current? */
int x4seek_do( X4FILTER S4PTR *, int ) ;
int S4FUNCTION x4bottom( X4FILTER S4PTR * ) ;
void S4FUNCTION x4init_work( X4FILTER S4PTR *, DATA4 S4PTR *, X4FUNCTION *, void S4PTR * ) ;
int S4FUNCTION x4filter_test( X4FILTER S4PTR * ) ; /* TRUE - keep record. */
int S4FUNCTION x4go( X4FILTER S4PTR *, long ) ;
int S4FUNCTION x4seek( X4FILTER S4PTR *, char S4PTR * ) ;
int S4FUNCTION x4seek_double( X4FILTER S4PTR *, double ) ;
int S4FUNCTION x4skip( X4FILTER S4PTR *, long ) ;
int S4FUNCTION x4top( X4FILTER S4PTR * ) ;
#ifdef __cplusplus
}
#endif