GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LPA / dev > lpa_epu / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

LPA_utils.c File Reference

LAT Physics Acquisition Internal utilities. More...

#include <LPA_utils.h>
#include <LPA/LPA_msgs.h>
#include <FBS/FBS_pubrtos.h>
#include <PBS/MBA.h>
#include <MSG/MSG_pubdefs.h>
#include <fcntl.h>

Functions

unsigned int LPA_get_key (unsigned int fileId, unsigned int *key)
 Retrieve a file header key.
void * lpa_mbaAlloc (void *unused, unsigned int nbytes)
 Generic cover for MBA_alloc.
void lpa_mbaFree (void *unused, void *ptr, unsigned int nbytes)
 Generic cover for the MBA_free routine.


Detailed Description

LAT Physics Acquisition Internal utilities.

Author:
S.Maldonado - smaldona@slac.stanford.edu
    CVS $Id: LPA_utils.c,v 1.5 2011/03/28 22:24:22 russell Exp $
   

This is a collection of miscellaneous utility programs used internally by the LPA package. They are not meant for public consumption so have no interface file in the public area nor are their entry points exposed in the .cidc file.

Function Documentation

void* lpa_mbaAlloc ( void *  unused,
unsigned int  nbytes 
)

Generic cover for MBA_alloc.

Returns:
Allocates the specified number of bytes
Parameters:
unused Unused context parameter
nbytes The number of bytes to allocate

Referenced by LPA_configOutput().

void lpa_mbaFree ( void *  unused,
void *  ptr,
unsigned int  nbytes 
)

Generic cover for the MBA_free routine.

Returns:
DeAllocates the specified number of bytes at the specified location
Parameters:
unused Unused context parameter
ptr The memory to free
nbytes The number of bytes to free

Referenced by LPA_configOutput().


Generated on Mon Mar 28 16:13:13 2011 by  doxygen 1.5.8