1 /********************************************************************* 2 * Copyright 2018, UCAR/Unidata 3 * See netcdf/COPYRIGHT file for copying and redistribution conditions. 4 * $Id $ 5 *********************************************************************/ 6 7 /* initialize a dimmap for n dimension ids */ 8 extern int 9 dimmap_init(size_t n); 10 11 /* store association between an input dimid and an output dimid, and whether unlimited */ 12 extern int 13 dimmap_store(int idimid, int odimid, int iunlim, int ounlim); 14 15 /* return odimid associated with specified idimid */ 16 extern int 17 dimmap_odimid(int idimid); 18 19 /* return idimid associated with specified odimid */ 20 extern int 21 dimmap_idimid(int odimid); 22 23 /* return whether odimid dimension is unlimited */ 24 extern int 25 dimmap_ounlim(int odimid); 26 27 /* return whether idimid dimension is unlimited */ 28 extern int 29 dimmap_iunlim(int idimid); 30 31