src/grib_handle.c
/* For multi support mode: Reset all file handles equal to f. See GRIB-249 */
For multi support mode: Reset all file handles equal to f.
For multi support mode : Reset all file handles equal to f .
void grib_multi_support_reset_file(grib_context* c, FILE* f)
{
    grib_multi_support* gm = NULL;
    if (!c)
        c = grib_context_get_default();
    gm = c->multi_support;
    while (gm) {
        if (gm->file == f) {
            gm->file = NULL;
        }
        gm = gm->next;
    }
}
void grib_multi_support_reset_file ( grib_context * c , FILE * f ) { grib_multi_support * gm = NULL ; if ( ! c ) c = grib_context_get_default ( ) ; gm = c -> multi_support ; while ( gm ) { if ( gm -> file == f ) { gm -> file = NULL ; } gm = gm -> next ; } }
For multi support mode: Reset all file handles equal to f. See GRIB-249
For multi support mode : Reset all file handles equal to f . See GRIB - 249