GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-1 > lsew / linux-gcc
Typedefs | |
typedef enum _LFR_KEYTYPE_K | LFR_KEYTYPE_K |
Typedef for struct _LFR_KEYTYPE_K. | |
typedef enum _LFR_KEYCMX_BRANCH_K | LFR_KEYCMX_BRANCH_K |
Typedef for struct _LFR_KEYCMX_BRANCH_K. | |
Enumerations | |
enum | _LFR_KEYTYPE_K { LFR_KEYTYPE_K_NONE = -1, LFR_KEYTYPE_K_FMX = 0, LFR_KEYTYPE_K_CMX = 1 } |
The enumerates the 8 possible key types. More... | |
enum | _LFR_KEYCMX_BRANCH_K { LFR_KEYCMX_BRANCH_K_ILLEGAL = -3, LFR_KEYCMX_BRANCH_K_UNDEFINED = -2, LFR_KEYCMX_BRANCH_K_UNKNOWN = -1, LFR_KEYCMX_BRANCH_K_PROD = 0, LFR_KEYCMX_BRANCH_K_DEV = 1, LFR_KEYCMX_BRANCH_K_TEST = 2 } |
The enumerates the CMX branch typess. More... | |
Functions | |
unsigned int | LFR_keyGet (struct _CDM_Database *cdb, unsigned char user) |
Returns the key associated with the file. This may be either an FMX or CMX style key, with the FMX key, if it exists, given the perference. | |
LFR_KEYTYPE_K | LFR_keyTypeGet (unsigned int key) |
Query function to return the encoded key type. | |
unsigned int | LFR_keyUserGet (unsigned int key) |
Query function to return the encoded user field. | |
LFR_KEYCMX_BRANCH_K | LFR_keyCmxBranchGet (unsigned int key) |
Query function to return the branch type. | |
unsigned int | LFR_keyCmxVersionGet (unsigned int key) |
Query function to return the version. | |
unsigned int | LFR_keyFmxKeyGet (unsigned int key) |
Query function to return FMX key value. | |
static __inline unsigned int | LFR__keyCmxMajorGet (unsigned int cmx_version) |
Extracts the CMX major version number from the specified cmx_version. | |
static __inline unsigned int | LFR__keyCmxMinorGet (unsigned int cmx_version) |
Extracts the CMX minor version number from the specified cmx_version. | |
static __inline unsigned int | LFR__keyCmxPatchGet (unsigned int cmx_version) |
Extracts the CMX patch version number from the specified cmx_version. |
CVS $Id: LFR_key.h,v 1.1 2006/11/01 21:57:27 russell Exp $
enum _LFR_KEYCMX_BRANCH_K |
The enumerates the CMX branch typess.
enum _LFR_KEYTYPE_K |
static __inline unsigned int LFR__keyCmxMajorGet | ( | unsigned int | cmx_version | ) | [static] |
Extracts the CMX major version number from the specified cmx_version.
cmx_version | The packed cmx version value to use. This is generally gotten from the return value of LFR_keyCmxVersionGet. |
static __inline unsigned int LFR__keyCmxMinorGet | ( | unsigned int | cmx_version | ) | [static] |
Extracts the CMX minor version number from the specified cmx_version.
cmx_version | The packed cmx version value to use. This is generally gotten from the return value of LFR_keyCmxVersionGet. |
static __inline unsigned int LFR__keyCmxPatchGet | ( | unsigned int | cmx_version | ) | [static] |
Extracts the CMX patch version number from the specified cmx_version.
cmx_version | The packed cmx version value to use. This is generally gotten from the return value of LFR_keyCmxVersionGet. |
LFR_KEYCMX_BRANCH_K LFR_keyCmxBranchGet | ( | unsigned int | key | ) |
Query function to return the branch type.
key | The key to query |
unsigned int LFR_keyCmxVersionGet | ( | unsigned int | key | ) |
Query function to return the version.
key | The key to query |
unsigned int LFR_keyFmxKeyGet | ( | unsigned int | key | ) |
Query function to return FMX key value.
key | The key to query |
unsigned int LFR_keyGet | ( | struct _CDM_Database * | cdb, | |
unsigned char | user | |||
) |
Returns the key associated with the file. This may be either an FMX or CMX style key, with the FMX key, if it exists, given the perference.
cdb | The CMX database to query for the key | |
user | A small integer (typically less than 31, that will be associated with the key. This is meant to help resolves files of similar types that may reside in different directories |
LFR_KEYTYPE_K LFR_keyTypeGet | ( | unsigned int | key | ) |
Query function to return the encoded key type.
LFR_KEYTYPE_K_FMX | ||
LFR_KEYTYPE_K_CMX |
key | The key to query |
unsigned int LFR_keyUserGet | ( | unsigned int | key | ) |
Query function to return the encoded user field.
key | The key to query |