OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
FP_failed_pkt_queue.h
Go to the documentation of this file.
1 #ifndef FP_FAILED_PKT_QUEUE_H
2 #define FP_FAILED_PKT_QUEUE_H
3 
4 /*
5 !C-INC************************************************************************
6 
7 !Description: This header file contains the definitions and structures used
8  for processing failed packets to be put into the Discarded
9  Packets (section 5 of the MODIS Level 1A Data Product Format).
10 
11 !Input Parameters:
12  N/A
13 
14 !Output Parameters:
15  N/A
16 
17 Return Values:
18  N/A
19 
20 Externally Defined:
21  N/A
22 
23 Called By:
24  N/A
25 
26 Routines Called:
27  N/A
28 
29 !Revision History:
30  Revision 1.0 1996/09/24 14:45 EDT
31  David Catozzi/GSC (cato@ltpmail.gsfc.nasa.gov)
32  Created original header file
33 
34 !Team-unique Header:
35  This software is developed by the MODIS Science
36  Data Support Team (SDST) for the National Aeronautics
37  and Space Administration (NASA), Goddard Space Flight
38  Center (GSFC), under contract NAS5-32373.
39 
40 !References and Credits:
41  None
42 
43 !Design Notes:
44  The ".h" file below was specifically written for development
45  in C. Any other language choice may require reworking of the
46  ".h" file before coding can begin.
47 
48 !END**********************************************************************
49 */
50 
51 #include <stdio.h>
52 #include <stdlib.h>
53 
54 /***********************************************************/
55 /* Constants */
56 /***********************************************************/
57 
58 #define FP_VDATA_MAX_BLOCK_NUM 64400
59 
60 /***********************************************************
61  * data types *
62  ***********************************************************/
63 
64 typedef struct node *node_ptr;
65 
66 struct node
67 {
68  char *element;
69  node_ptr next;
70  node_ptr prev;
71 };
72 
73 
75 {
76  node_ptr head;
77  node_ptr tail;
78 };
79 
80 typedef struct queue_record *FP_QUEUE_t;
81 
82 
83 #endif
char * element
node_ptr next
node_ptr prev