GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSD / V0-3-1
Constituent: qsdccsds     Tag: linux-gcc
#include "QSD/CCSDS_apidDsc.h"
#include "QSD/CCSDS_istream.h"
#include "QSD/CCSDS_header.h"
Include dependency graph for CCSDS_apidDsc.c:
Data Structures | |
struct | _CCSDS_apidDscTbl |
The table of APID descriptors. More... | |
Functions | |
static __inline CCSDS_apidDscNode * | insert (CCSDS_apidDscNode *head, CCSDS_apidDscNode *node) |
Inserts an APID descriptor on the que. | |
void | CCSDS_apidDscConstruct (CCSDS_apidDsc *dsc, void *ctx, unsigned short int apid, CCSDS_APIDDSC_BRIDGE_K bridge, unsigned char *buf, unsigned int buf_size) |
Constructs (initializes) an CCSDS_apidDsc, an APID descriptor. | |
int | CCSDS_apidDscRegister (CCSDS_apidDscTbl *tbl, CCSDS_apidDsc *dsc, void *ctx, unsigned short int apid, CCSDS_APIDDSC_BRIDGE_K bridge, unsigned char *buf, unsigned int buf_size) |
Registers an APID descriptor. | |
void | CCSDS_apidDscReset (CCSDS_apidDsc *dsc) |
Resets the specified APID descriptor to its initial state. This routine is used mainly for error recovery. | |
CCSDS_apidDsc * | CCSDS_apidDscFind (CCSDS_apidDscTbl *tbl, const CCSDS_istreamHdr *hdr) |
Built-in method to locate the descriptor associated with the specified APID as read from the header. | |
static __inline void | swap32bN (unsigned int *a32, int n32) |
Swaps the specified number of 32-bit integers, presumed to be in a big endian representation to the local endianness.. This is a NOOP on big endian machines. | |
static __inline void | swap16bN (unsigned short int *a16, int n16) |
Swaps the specified number of 16-bit integers, presumed to be in a big endian representation to the local endianness. This is a NOOP on big endian machines. | |
int | CCSDS_apidDscSwap32 (CCSDS_apidDsc *dsc) |
Convenience routine to 32-bit swap all the words in the current buffer, presumed to be in a big-endian, to the local representation. | |
int | CCSDS_apidDscSwap16 (CCSDS_apidDsc *dsc) |
Convenience routine to 16-bit swap all the words in the current buffer, presumed to be in a big-endian, to the local representation. |
CVS $Id: CCSDS_apidDsc.c,v 1.2 2008/04/04 21:22:35 russell Exp $
|
Constructs (initializes) an CCSDS_apidDsc, an APID descriptor.
|
|
Built-in method to locate the descriptor associated with the specified APID as read from the header.
|
|
Registers an APID descriptor.
|
|
Resets the specified APID descriptor to its initial state. This routine is used mainly for error recovery.
|
|
Convenience routine to 16-bit swap all the words in the current buffer, presumed to be in a big-endian, to the local representation.
|
|
Convenience routine to 32-bit swap all the words in the current buffer, presumed to be in a big-endian, to the local representation.
|
|
Inserts an APID descriptor on the que.
|
|
Swaps the specified number of 16-bit integers, presumed to be in a big endian representation to the local endianness. This is a NOOP on big endian machines.
|
|
Swaps the specified number of 32-bit integers, presumed to be in a big endian representation to the local endianness.. This is a NOOP on big endian machines.
|