NCEPLIBS-bufr 11.7.1
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
30void openrb( f77int *, char * );
31void openwb( f77int *, char * );
32void openab( f77int *, char * );
33void backbufr( f77int * );
34void cewind( f77int * );
35void closfb( f77int * );
36f77int crdbufr( f77int *, char *, f77int * );
37void cwrbufr( f77int *, f77int *, f77int * );
38
46#ifdef IN_ARALLOCC
47 FILE **pb;
48 fpos_t *lstpos;
49#else
50 extern FILE **pb;
51 extern fpos_t *lstpos;
52#endif
void cwrbufr(f77int *, f77int *, f77int *)
This subroutine writes a BUFR message into a file that was previously opened for writing.
Definition: cread.c:173
void openrb(f77int *, char *)
This subroutine opens a new system file for reading BUFR messages.
Definition: cread.c:34
void openwb(f77int *, char *)
This subroutine opens a new system file for writing BUFR messages.
Definition: cread.c:51
FILE ** pb
File pointers.
void openab(f77int *, char *)
This subroutine opens a new system file for appending BUFR messages.
Definition: cread.c:68
void closfb(f77int *)
This subroutine closes a previously opened BUFR file.
Definition: cread.c:116
void cewind(f77int *)
This subroutine rewinds a BUFR file back to its beginning.
Definition: cread.c:100
void backbufr(f77int *)
This subroutine backspaces a BUFR file by one BUFR message.
Definition: cread.c:84
fpos_t * lstpos
Byte positions of last successful reads from files corresponding to pb, for files that were opened fo...
f77int crdbufr(f77int *, char *, f77int *)
This function reads the next message from a BUFR file that was previously opened for reading.
Definition: cread.c:140