GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-5 > iefc / rhel5-32
Typedefs | |
typedef enum _EFR_KEYTYPE_K | EFR_KEYTYPE_K |
Typedef for struct _EFR_KEYTYPE_K. | |
typedef enum _EFR_KEYCMX_BRANCH_K | EFR_KEYCMX_BRANCH_K |
Typedef for struct _EFR_KEYCMX_BRANCH_K. | |
Enumerations | |
enum | _EFR_KEYTYPE_K { EFR_KEYTYPE_K_NONE = -1, EFR_KEYTYPE_K_FMX = 0, EFR_KEYTYPE_K_CMX = 1 } |
The enumerates the 8 possible key types. More... | |
enum | _EFR_KEYCMX_BRANCH_K { EFR_KEYCMX_BRANCH_K_ILLEGAL = -3, EFR_KEYCMX_BRANCH_K_UNDEFINED = -2, EFR_KEYCMX_BRANCH_K_UNKNOWN = -1, EFR_KEYCMX_BRANCH_K_PROD = 0, EFR_KEYCMX_BRANCH_K_DEV = 1, EFR_KEYCMX_BRANCH_K_TEST = 2 } |
The enumerates the CMX branch typess. More... | |
Functions | |
unsigned int | EFR_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. | |
EFR_KEYTYPE_K | EFR_keyTypeGet (unsigned int key) |
Query function to return the encoded key type. | |
unsigned int | EFR_keyUserGet (unsigned int key) |
Query function to return the encoded user field. | |
EFR_KEYCMX_BRANCH_K | EFR_keyCmxBranchGet (unsigned int key) |
Query function to return the branch type. | |
unsigned int | EFR_keyCmxVersionGet (unsigned int key) |
Query function to return the version. | |
unsigned int | EFR_keyFmxKeyGet (unsigned int key) |
Query function to return FMX key value. | |
static __inline unsigned int | EFR__keyCmxMajorGet (unsigned int cmx_version) |
Extracts the CMX major version number from the specified cmx_version. | |
static __inline unsigned int | EFR__keyCmxMinorGet (unsigned int cmx_version) |
Extracts the CMX minor version number from the specified cmx_version. | |
static __inline unsigned int | EFR__keyCmxPatchGet (unsigned int cmx_version) |
Extracts the CMX patch version number from the specified cmx_version. |
CVS $Id: EFR_key.h,v 1.1 2007/10/10 23:40:42 russell Exp $
enum _EFR_KEYCMX_BRANCH_K |
The enumerates the CMX branch typess.
enum _EFR_KEYTYPE_K |
static __inline unsigned int EFR__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 EFR_keyCmxVersionGet. |
static __inline unsigned int EFR__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 EFR_keyCmxVersionGet. |
static __inline unsigned int EFR__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 EFR_keyCmxVersionGet. |
EFR_KEYCMX_BRANCH_K EFR_keyCmxBranchGet | ( | unsigned int | key | ) |
Query function to return the branch type.
key | The key to query |
References EFR_KEYCMX_BRANCH_K_DEV, EFR_KEYCMX_BRANCH_K_ILLEGAL, EFR_KEYCMX_BRANCH_K_PROD, EFR_KEYCMX_BRANCH_K_TEST, EFR_KEYCMX_BRANCH_K_UNDEFINED, EFR_KEYCMX_BRANCH_K_UNKNOWN, EFR_KEYTYPE_K_CMX, EFR_KEYVAL_K_CMX_DEV, EFR_KEYVAL_K_CMX_TEST, EFR_KEYVAL_K_CMX_UNDEFINED, EFR_KEYVAL_K_CMX_UNKNOWN, _EFR_key::gen, and _EFR_key::ui.
unsigned int EFR_keyCmxVersionGet | ( | unsigned int | key | ) |
Query function to return the version.
key | The key to query |
References _EFR_key::gen, and _EFR_key::ui.
unsigned int EFR_keyFmxKeyGet | ( | unsigned int | key | ) |
Query function to return FMX key value.
key | The key to query |
References _EFR_key::fmx, and _EFR_key::ui.
unsigned int EFR_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 |
References cmxKeyGet(), EFR_KEYVAL_K_UNDEFINED, fmxKeyGet(), _EFR_key::gen, and _EFR_key::ui.
Referenced by construct_efc().
EFR_KEYTYPE_K EFR_keyTypeGet | ( | unsigned int | key | ) |
Query function to return the encoded key type.
EFR_KEYTYPE_K_FMX | ||
EFR_KEYTYPE_K_CMX |
key | The key to query |
References EFR_KEYTYPE_K_NONE, _EFR_key::gen, and _EFR_key::ui.
unsigned int EFR_keyUserGet | ( | unsigned int | key | ) |
Query function to return the encoded user field.
key | The key to query |
References _EFR_key::gen, and _EFR_key::ui.