NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
bufr_interface.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
29  void open_f(int unit, const char* filepath);
30 
31 
40  void close_f(int unit);
41 
42 
52  void openbf_f(int bufr_unit, const char* cio, int table_file_id);
53 
54 
62  void closbf_f(int bufr_unit);
63 
64 
71  void exitbufr_f();
72 
73 
84  int ireadmg_f(int bufr_unit, char* subset, int* iddate, int subset_len);
85 
86 
94  int ireadsb_f(int bufr_unit);
95 
96 
108  void ufbint_f(int bufr_unit, void** c_data, int dim_1, int dim_2,
109  int* iret, const char* table_b_mnemonic);
110 
111 
123  void ufbrep_f(int bufr_unit, void** c_data, int dim_1, int dim_2,
124  int* iret, const char* table_b_mnemonic);
125 
126 
136  void mtinfo_f(const char* path, int file_unit_1, int file_unit_2);
137 
138 #ifdef __cplusplus
139 }
140 #endif
int ireadmg_f(int bufr_unit, char *subset, int *iddate, int subset_len)
Wraps BUFRLIB "ireadmg" subroutine.
void close_f(int unit)
Wraps fortran "close" statement so we can close a Fortran file from a C program.
int ireadsb_f(int bufr_unit)
Wraps BUFRLIB "ireadsb" function.
void ufbrep_f(int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic)
Wraps BUFRLIB "ufbrep" function.
void mtinfo_f(const char *path, int file_unit_1, int file_unit_2)
Wraps BUFRLIB "mtinfo" function.
void openbf_f(int bufr_unit, const char *cio, int table_file_id)
Wraps BUFRLIB "openbf" subroutine.
void closbf_f(int bufr_unit)
Wraps BUFRLIB "closbf" subroutine.
void exitbufr_f()
Wraps BUFRLIB "exitbufr" subroutine. Closes all open file units used by BUFRLIB.
void open_f(int unit, const char *filepath)
Wraps fortran "open" statement so we can open a Fortran file from a C program.
void ufbint_f(int bufr_unit, void **c_data, int dim_1, int dim_2, int *iret, const char *table_b_mnemonic)
Wraps BUFRLIB "ufbint" function.