2013-05-20 01:16:08 -04:00
|
|
|
#ifndef _REGION_H_
|
|
|
|
#define _REGION_H_
|
|
|
|
|
2013-09-23 06:58:31 -04:00
|
|
|
#include "line.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The starting position of a region, and the size of the region in
|
|
|
|
* characters, is kept in a region structure. Used by the region commands.
|
|
|
|
*/
|
|
|
|
struct region {
|
|
|
|
struct line *r_linep; /* Origin struct line address. */
|
|
|
|
int r_offset; /* Origin struct line offset. */
|
|
|
|
long r_size; /* Length in characters. */
|
|
|
|
};
|
2013-05-20 01:16:08 -04:00
|
|
|
|
|
|
|
int killregion( int f, int n) ;
|
|
|
|
int copyregion( int f, int n) ;
|
|
|
|
int lowerregion( int f, int n) ;
|
|
|
|
int upperregion( int f, int n) ;
|
|
|
|
int getregion( struct region *rp) ;
|
|
|
|
|
|
|
|
#endif
|