home *** CD-ROM | disk | FTP | other *** search
- #ifndef MARK_H
- #define MARK_H
- /*
- * This structure holds the starting position (as a line/offset pair) and the
- * number of characters in a region of a buffer. This makes passing the
- * specification of a region around a little bit easier.
- */
-
- struct region {
- struct line *r_linep;/* Origin LINE address. */
- short r_offset; /* Origin LINE offset. */
- RSIZE r_size; /* Length in characters. */
- };
-
- #ifndef NO_PROTO
- int getregion(struct region * rp);
- int setsize(register struct region * rp, register RSIZE size);
- #endif
- #endif
-