NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
cread.h
Go to the documentation of this file.
1 
19 #ifdef UNDERSCORE
20 #define openrb openrb_
21 #define openwb openwb_
22 #define openab openab_
23 #define backbufr backbufr_
24 #define cewind cewind_
25 #define closfb closfb_
26 #define crdbufr crdbufr_
27 #define cwrbufr cwrbufr_
28 #endif
29 
30 void openrb( f77int *, char * );
31 void openwb( f77int *, char * );
32 void openab( f77int *, char * );
33 void backbufr( f77int * );
34 void cewind( f77int * );
35 void closfb( f77int * );
36 f77int crdbufr( f77int *, char *, f77int * );
37 void cwrbufr( f77int *, f77int *, f77int * );
38 
46 #ifdef DYNAMIC_ALLOCATION
47 
48 # ifdef IN_ARALLOCC
49  FILE **pb;
50  fpos_t *lstpos;
51 # else
52  extern FILE **pb;
53  extern fpos_t *lstpos;
54 # endif
55 
56 #else
57 
58  FILE *pb[NFILES+1];
59  fpos_t lstpos[NFILES+1];
60 
61 #endif
void closfb(f77int *nfile)
This subroutine closes a previously opened BUFR file.
Definition: cread.c:104
void backbufr(f77int *nfile)
This subroutine backspaces a BUFR file by one BUFR message.
Definition: cread.c:76
f77int crdbufr(f77int *nfile, char *bufr, f77int *mxbyt)
This function reads the next message from a BUFR file that was previously opened for reading...
Definition: cread.c:126
void cwrbufr(f77int *nfile, f77int *bufr, f77int *nwrd)
This subroutine writes a BUFR message into a file that was previously opened for writing.
Definition: cread.c:157
FILE * pb[NFILES+1]
File pointers.
Definition: cread.h:58
void openab(f77int *nfile, char *ufile)
This subroutine opens a new system file for appending BUFR messages.
Definition: cread.c:62
void cewind(f77int *nfile)
This subroutine rewinds a BUFR file back to its beginning.
Definition: cread.c:90
void openwb(f77int *nfile, char *ufile)
This subroutine opens a new system file for writing BUFR messages.
Definition: cread.c:47
fpos_t lstpos[NFILES+1]
Byte positions of last successful reads from files corresponding to pb, for files that were opened fo...
Definition: cread.h:59
void openrb(f77int *nfile, char *ufile)
This subroutine opens a new system file for reading BUFR messages.
Definition: cread.c:32