Minor modification related to the new CASTOR stager
[u/mrichter/AliRoot.git] / RAW / mdc.h
1 #ifndef MDC_H
2 #define MDC_H
3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //////////////////////////////////////////////////////////////////////////
9 //                                                                      //
10 // c interface to AliMDC                                                //
11 //                                                                      //
12 //////////////////////////////////////////////////////////////////////////
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 void* alimdcCreate(int compress, int filterMode, 
19                    const char* localRunDB, int rdbmsRunDB,
20                    const char* alienHostRunDB, const char* alienDirRunDB,
21                    double maxSizeTagDB, const char* fileNameTagDB);
22 int   alimdcOpen(void* alimdc, int mode, const char* fileName);
23 int   alimdcProcessEvent(void* alimdc, void* event, int isIovecArray);
24 int   alimdcClose(void* alimdc);
25 void  alimdcDelete(void* alimdc);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif