GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSD / dev > qsu / rhel6-64
#include <QSD/QFR_cdm.h>
#include <QSD/QFR_file.h>
#include <LSE/LFR_refdef.h>
#include <LSE/LFR_key.h>
#include <CDM/CDM_pubdefs.h>
Functions | |
struct _CDM_Database * | QFR_cdmDbLoad (const QFR_cdmTemplate *template, QFR_fileCtx *ctx, unsigned int key, char *name, unsigned int name_size) |
Utility routine to construct a fully resolve file name to a database, then load it. | |
unsigned int | QFR_cdmConstantsLoad (const QFR_cdmTemplate *template, QFR_fileCtx *qfr, unsigned int key, QFR_cdmConstructor ctor, void *ctor_prm, char *name, unsigned int name_size) |
Utility routine to construct a fully resolve file name to a database, then load it. |
CVS $Id: QFR_cdm.c,v 1.2 2011/03/26 21:06:58 russell Exp $
unsigned int QFR_cdmConstantsLoad | ( | const QFR_cdmTemplate * | template, | |
QFR_fileCtx * | qfr, | |||
unsigned int | key, | |||
QFR_cdmConstructor | ctor, | |||
void * | ctor_prm, | |||
char * | name, | |||
unsigned int | name_size | |||
) |
Utility routine to construct a fully resolve file name to a database, then load it.
template | The template containing the list of directory paths and the file name. | |
qfr | The file resolution context. | |
key | The key used to find the specific file | |
ctor | The construct, this will be called back with the found database and the constants | |
ctor_prm | Arbibrary parameter passed to the ctor routine | |
name | Name buffer, if non-NULL, filled in with the resolved file name. The name is NUL-terminated | |
name_size | The size, in byte, of the name buffer. |
References QFR_cdmDbLoad().
struct _CDM_Database QFR_cdmDbLoad | ( | const QFR_cdmTemplate * | template, | |
QFR_fileCtx * | ctx, | |||
unsigned int | key, | |||
char * | name, | |||
unsigned int | name_size | |||
) | [read] |
Utility routine to construct a fully resolve file name to a database, then load it.
ctx | The file resolution context. | |
key | The key used to find the specific file | |
template | The template containing the list of directory paths and the file name. | |
name | Name buffer, if non-NULL, filled in with the resolved file name. The name is NUL-terminated | |
name_size | The size, in bytes, of the name buffer. |
Referenced by QFR_cdmConstantsLoad().