Added a dummy component into the sample library.
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLT_C_Component_WrapperInterface.h
CommitLineData
f23a6e1a 1// @(#) $Id$
2
3#ifndef ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H
4#define ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H
5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8/* AliHLT_C_Component_WrapperInterface
9 pure C interface to the AliRoot HLT component handler
10 utilized by the HLT PubSub Framework
11 */
12
13#include <AliHLTDataTypes.h>
14
71d7c760 15#ifdef __cplusplus
f23a6e1a 16extern "C" {
71d7c760 17#endif
f23a6e1a 18typedef void* AliHLTComponentHandle;
19
20 const AliHLTComponentHandle kEmptyHLTComponentHandle = 0;
21
22int AliHLT_C_Component_InitSystem( AliHLTComponentEnvironment* environ );
23int AliHLT_C_Component_DeinitSystem();
24int AliHLT_C_Component_LoadLibrary( const char* libraryPath );
25int AliHLT_C_Component_UnloadLibrary( const char* libraryPath );
26int AliHLT_C_CreateComponent( const char* componentType, void* environ_param, int argc, const char** argv, AliHLTComponentHandle* handle );
27void AliHLT_C_DestroyComponent( AliHLTComponentHandle );
71d7c760 28int AliHLT_C_ProcessEvent( AliHLTComponentHandle, const AliHLTComponent_EventData* evtData, const AliHLTComponent_BlockData* blocks,
29 AliHLTComponent_TriggerData* trigData, AliHLTUInt8_t* outputPtr,
f23a6e1a 30 AliHLTUInt32_t* size, AliHLTUInt32_t* outputBlockCnt,
31 AliHLTComponent_BlockData** outputBlocks,
32 AliHLTComponent_EventDoneData** edd );
71d7c760 33int AliHLT_C_GetOutputDataType( AliHLTComponentHandle, AliHLTComponent_DataType* dataType );
34int AliHLT_C_GetOutputSize( AliHLTComponentHandle, unsigned long* constBase, double* inputMultiplier );
f23a6e1a 35
71d7c760 36#ifdef __cplusplus
f23a6e1a 37}
71d7c760 38#endif
f23a6e1a 39
40#endif //ALIHLT_C_COMPONENT_WARAPPERINTERFACE_H