|
ocssw
1.0
|
00001 #ifndef FP_FAILED_PKT_QUEUE_H 00002 #define FP_FAILED_PKT_QUEUE_H 00003 00004 /* 00005 !C-INC************************************************************************ 00006 00007 !Description: This header file contains the definitions and structures used 00008 for processing failed packets to be put into the Discarded 00009 Packets (section 5 of the MODIS Level 1A Data Product Format). 00010 00011 !Input Parameters: 00012 N/A 00013 00014 !Output Parameters: 00015 N/A 00016 00017 Return Values: 00018 N/A 00019 00020 Externally Defined: 00021 N/A 00022 00023 Called By: 00024 N/A 00025 00026 Routines Called: 00027 N/A 00028 00029 !Revision History: 00030 Revision 1.0 1996/09/24 14:45 EDT 00031 David Catozzi/GSC (cato@ltpmail.gsfc.nasa.gov) 00032 Created original header file 00033 00034 !Team-unique Header: 00035 This software is developed by the MODIS Science 00036 Data Support Team (SDST) for the National Aeronautics 00037 and Space Administration (NASA), Goddard Space Flight 00038 Center (GSFC), under contract NAS5-32373. 00039 00040 !References and Credits: 00041 None 00042 00043 !Design Notes: 00044 The ".h" file below was specifically written for development 00045 in C. Any other language choice may require reworking of the 00046 ".h" file before coding can begin. 00047 00048 !END********************************************************************** 00049 */ 00050 00051 #include <stdio.h> 00052 #include <stdlib.h> 00053 00054 /***********************************************************/ 00055 /* Constants */ 00056 /***********************************************************/ 00057 00058 #define FP_VDATA_MAX_BLOCK_NUM 64400 00059 00060 /*********************************************************** 00061 * data types * 00062 ***********************************************************/ 00063 00064 typedef struct node *node_ptr; 00065 00066 struct node 00067 { 00068 char *element; 00069 node_ptr next; 00070 node_ptr prev; 00071 }; 00072 00073 00074 struct queue_record 00075 { 00076 node_ptr head; 00077 node_ptr tail; 00078 }; 00079 00080 typedef struct queue_record *FP_QUEUE_t; 00081 00082 00083 #endif
1.7.6.1