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 16528 of file midas.c.

Referenced by main().


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk