From df7f0b4828eef2be4da06c4bf6f353e7335339c5 Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Thu, 24 Jan 2008 19:09:35 +0000 Subject: [PATCH] --- src/grib.h | 1 + src/griblib.c | 6 +++--- src/make_cdilib | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/grib.h b/src/grib.h index b65e2a5a4..22d56aabc 100644 --- a/src/grib.h +++ b/src/grib.h @@ -217,6 +217,7 @@ int gribRead(int fileID, unsigned char *buffer, size_t *buffersize); int gribWrite(int fileID, unsigned char *buffer, size_t buffersize); off_t gribGetPos(int fileID); int gribGetSize(int fileID); +int gribCheckSeek(int fileID, long *offset, int *version); int gribFileSeek(int fileID, long *offset); int gribReadSize(int fileID); int gribVersion(unsigned char *buffer, size_t buffersize); diff --git a/src/griblib.c b/src/griblib.c index 82281f8b2..411a97543 100644 --- a/src/griblib.c +++ b/src/griblib.c @@ -1,5 +1,5 @@ -/* Generated automatically from m214003 on Thu Jan 24 15:59:29 CET 2008 */ +/* Generated automatically from m214003 on Thu Jan 24 16:14:22 CET 2008 */ /* GRIBLIB_VERSION="1.1.0" */ @@ -5015,7 +5015,7 @@ int gribCheckSeek(int fileID, long *offset, int *version) int ierr; char buffer[4]; - ierr = gribFileSeek(fileID, &offset); + ierr = gribFileSeek(fileID, offset); *version = -1; if ( !ierr ) @@ -8336,7 +8336,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu return (gribLen); } -static const char grb_libvers[] = "1.1.0" " of ""Jan 24 2008"" ""15:59:29"; +static const char grb_libvers[] = "1.1.0" " of ""Jan 24 2008"" ""16:14:23"; diff --git a/src/make_cdilib b/src/make_cdilib index f3e101564..829446a81 100755 --- a/src/make_cdilib +++ b/src/make_cdilib @@ -98,7 +98,7 @@ c="dmemory.c \ h="cdi_limits.h taxis.h error.h dtypes.h file.h grib.h service.h extra.h \ ieg.h cdi.h timebase.h calendar.h \ basetime.h stream_int.h stream_grb.h datetime.h stream_cdf.h \ - grib.h tablepar.h table.h util.h grid.h varscan.h binary.h swap.h \ + tablepar.h table.h util.h grid.h varscan.h binary.h swap.h \ service.h stream_srv.h stream_ext.h stream_ieg.h cdf_int.h \ cdf.h vlist.h" -- GitLab