1 /** 2 * Copyright 1981-2016 ECMWF. 3 * 4 * This software is licensed under the terms of the Apache Licence 5 * Version 2.0 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. 6 * 7 * In applying this licence, ECMWF does not waive the privileges and immunities 8 * granted to it by virtue of its status as an intergovernmental organisation 9 * nor does it submit to any jurisdiction. 10 */ 11 12 #ifndef BITMAP_H 13 #define BITMAP_H 14 15 #ifdef FORTRAN_NO_UNDERSCORE 16 #define MAKEMAP makemap 17 #define SHOWMAP showmap 18 #define GMAPBIT gmapbit 19 #else 20 #define MAKEMAP makemap_ 21 #define SHOWMAP showmap_ 22 #define GMAPBIT gmapbit_ 23 #endif 24 25 int MAKEMAP(char * , int * , int * , char ** , int ); 26 void SHOWMAP(char ** , int * , int * ); 27 int GMAPBIT( char ** , int * , int * , int * ); 28 int findNumber(char * , int , int , int * , char ); 29 char findDelimiter(char * , int , int ); 30 int findCharacter(char * , int , int , char ); 31 void setBit(char * , int , int , int , int ); 32 void copyRow(char * , int , int , int , int ); 33 34 #endif /* end of BITMAP_H */ 35