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