Midas Dual Buffer Memory Functions (dm_xxx)
[The midas.h & midas.c]


Functions

INT dm_buffer_create (INT size, INT user_max_event_size)


Function Documentation

INT dm_buffer_create INT  size,
INT  user_max_event_size
 

Setup a dual memory buffer. Has to be called initially before any other dm_xxx function

Parameters:
size Size in bytes
user_max_event_size max event size
Returns:
CM_SUCCESS, BM_NO_MEMORY, BM_MEMSIZE_MISMATCH

Definition at line 16736 of file midas.c.

Referenced by main().


Midas DOC Version 1.9.3 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Suzannah Daviel - Doxygen - Peter Green - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - Konstantin Olchanski - Renee Poutissou - Andreas Suter - Piotr Adam Zolnierczuk