1 | /*******************************************************************************
|
---|
2 | * *
|
---|
3 | * mcfio_Direct.h -- Include file for mcfast Direct i/o layer. *
|
---|
4 | * *
|
---|
5 | * Copyright (c) 1994 Universities Research Association, Inc. *
|
---|
6 | * All rights reserved. *
|
---|
7 | * *
|
---|
8 | *******************************************************************************/
|
---|
9 | #define INITIATE 3
|
---|
10 | #define FLUSH 4
|
---|
11 | int mcfioC_OpenReadDirect(char *filename);
|
---|
12 | int mcfioC_OpenReadMapped(char *filename);
|
---|
13 | int mcfioC_OpenWriteDirect(char *filename, char *title, char *comment,
|
---|
14 | int numevts_pred, int *blkIds, u_int nBlocks);
|
---|
15 | int mcfioC_NextEvent(int stream);
|
---|
16 | int mcfioC_SpecificEvent(int stream, int ievt,
|
---|
17 | int istore, int irun, int itrig);
|
---|
18 | int mcfioC_NextSpecificEvent(int stream, int ievt,
|
---|
19 | int istore, int irun, int itrig);
|
---|
20 | void mcfioC_CloseDirect(int jstr);
|
---|
21 | void mcfioC_RewindDirect(int jstr);
|
---|
22 | int mcfioC_WrtEvt(mcfStream *str, int mode);
|
---|
23 | int mcfioC_Wrttable(mcfStream *str, int mode);
|
---|
24 | int mcfioC_Wrtfhead(mcfStream *str, int mode);
|
---|