]>
Commit | Line | Data |
---|---|---|
64ab0546 | 1 | // @(#) $Id$ |
6634349e | 2 | |
3 | #ifndef ALIHLTMISC_H | |
4 | #define ALIHLTMISC_H | |
5 | //* This file is property of and copyright by the ALICE HLT Project * | |
6 | //* ALICE Experiment at CERN, All rights reserved. * | |
7 | //* See cxx source for full Copyright notice */ | |
8 | ||
9 | /** @file AliHLTMisc.h | |
10 | @author Matthias Richter | |
11 | @date | |
12 | @brief Definition of various glue functions implemented in dynamically | |
13 | loaded libraries | |
14 | */ | |
15 | ||
16 | #define ALIHLTMISC_LIBRARY "libHLTrec.so" | |
17 | #define ALIHLTMISC_INIT_CDB "AliHLTMiscInitCDB" | |
18 | #define ALIHLTMISC_SET_CDB_RUNNO "AliHLTMiscSetCDBRunNo" | |
19 | ||
20 | #ifdef __cplusplus | |
21 | extern "C" { | |
22 | #endif | |
23 | ||
24 | /** | |
25 | * Init the CDB access for the running instance. | |
26 | * The method is used from the C wrapper interface utilized by the on-line | |
27 | * framework. The path of the (H)CDB is set to the specified path.<br> | |
28 | * When running from AliRoot, the CDB path is set in the startup of the | |
29 | * reconstruction. | |
30 | * @param cdbpath path to the CDB | |
31 | * @return neg. error code if failed | |
32 | * @note function implemented in libHLTrec | |
33 | */ | |
34 | int AliHLTMiscInitCDB(const char* cdbpath); | |
35 | typedef int (*AliHLTMiscInitCDB_t)(const char* cdbpath); | |
36 | ||
37 | ||
38 | /** | |
39 | * Init the Run no for the CDB access. | |
7e914051 | 40 | * @param runNo the run no |
6634349e | 41 | * @return neg. error code if failed |
42 | * @note function implemented in libHLTrec | |
43 | */ | |
44 | int AliHLTMiscSetCDBRunNo(int runNo); | |
45 | typedef int (*AliHLTMiscSetCDBRunNo_t)(int runNo); | |
46 | ||
47 | #ifdef __cplusplus | |
48 | } | |
49 | #endif | |
50 | #endif //ALIHLTMISC_H |