[GRASS-SVN] r49547 - in grass/trunk/include: . defs

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 5 07:48:56 EST 2011


Author: mmetz
Date: 2011-12-05 04:48:56 -0800 (Mon, 05 Dec 2011)
New Revision: 49547

Modified:
   grass/trunk/include/defs/segment.h
   grass/trunk/include/segment.h
Log:
segment lib cosmetics: update headers

Modified: grass/trunk/include/defs/segment.h
===================================================================
--- grass/trunk/include/defs/segment.h	2011-12-05 12:19:16 UTC (rev 49546)
+++ grass/trunk/include/defs/segment.h	2011-12-05 12:48:56 UTC (rev 49547)
@@ -2,6 +2,8 @@
 #define GRASS_SEGMENTDEFS_H
 
 int segment_address(const SEGMENT *, int, int, int *, int *);
+int segment_address_fast(const SEGMENT *, int, int, int *, int *);
+int segment_address_slow(const SEGMENT *, int, int, int *, int *);
 int segment_flush(SEGMENT *);
 int segment_format(int, int, int, int, int, int);
 int segment_format_nofill(int, int, int, int, int, int);
@@ -14,6 +16,8 @@
 int segment_put_row(const SEGMENT *, const void *, int);
 int segment_release(SEGMENT *);
 int segment_seek(const SEGMENT *, int, int);
+int segment_seek_fast(const SEGMENT *, int, int);
+int segment_seek_slow(const SEGMENT *, int, int);
 int segment_setup(SEGMENT *);
 
 #endif /* GRASS_SEGMENTDEFS_H */

Modified: grass/trunk/include/segment.h
===================================================================
--- grass/trunk/include/segment.h	2011-12-05 12:19:16 UTC (rev 49546)
+++ grass/trunk/include/segment.h	2011-12-05 12:48:56 UTC (rev 49547)
@@ -37,6 +37,8 @@
     int slow_seek;      	/* toggles fast seek mode */
     int lenbits;        	/* data size bitshift */
     int sizebits;       	/* segment size bitshift */
+    int (*segment_address)();
+    int (*segment_seek)();
     
     int fd;			/* file descriptor to read/write segment */
     struct SEGMENT_SCB		/* control blocks */



More information about the grass-commit mailing list