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 */
10 @author Matthias Richter
12 @brief Definition of various glue functions implemented in dynamically
16 #define ALIHLTMISC_LIBRARY "libHLTrec.so"
17 #define ALIHLTMISC_INIT_CDB "AliHLTMiscInitCDB"
18 #define ALIHLTMISC_SET_CDB_RUNNO "AliHLTMiscSetCDBRunNo"
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
30 * If cdbpath is nil or empty and the CDB is not already initialized, the
31 * CDB storage is set to local://$ALICE_ROOT and the run no to 0.
32 * @param cdbpath path to the CDB
33 * @return neg. error code if failed
34 * @note function implemented in libHLTrec
36 int AliHLTMiscInitCDB(const char* cdbpath);
37 typedef int (*AliHLTMiscInitCDB_t)(const char* cdbpath);
40 * Init the Run no for the CDB access.
41 * @param runNo the run no
42 * @return neg. error code if failed
43 * @note function implemented in libHLTrec
45 int AliHLTMiscSetCDBRunNo(int runNo);
46 typedef int (*AliHLTMiscSetCDBRunNo_t)(int runNo);