GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-1-0 > lsew / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

LSE_cdm.c File Reference

CDM helper routines. More...

#include <LSE/LSE_cdm.h>
#include <CDM/CDM_pubdefs.h>

Classes

struct  _CdmMatch
 CDM_scanDatabase call back context structure. More...

Typedefs

typedef struct _CdmMatch CdmMatch
 Typedef for struct _CdmMatch.

Functions

static unsigned int match (CDM_Database *cdb, CdmMatch *cdm)
 CDM_scanDatabase callback routine used in looking for the a database this the matching schema.
struct _CDM_Database * LSE_cdmFind (unsigned short int schema)
 Locates the first instance of the specified database.


Detailed Description

CDM helper routines.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: LSE_cdm.c,v 1.2 2011/03/26 17:35:24 russell Exp $

Function Documentation

struct _CDM_Database* LSE_cdmFind ( unsigned short int  schema  )  [read]

Locates the first instance of the specified database.

Returns:
A pointer to the database of the specified schema or NULL if it is not existent.
Parameters:
schema The schema of the CDM to locate

References _CdmMatch::cdb, match(), and _CdmMatch::schema.

Referenced by cal_com_construct(), CDF_acd_construct(), and CDF_tkr_construct().

static unsigned int match ( CDM_Database *  cdb,
CdmMatch cdm 
) [static]

CDM_scanDatabase callback routine used in looking for the a database this the matching schema.

Parameters:
cdb The CDM database to check for a match
cdm The scan context structure

References _CdmMatch::cdb, and _CdmMatch::schema.

Referenced by LSE_cdmFind().


Generated on Thu Aug 4 13:00:09 2011 by  doxygen 1.5.8