File: undo.h

package info (click to toggle)
jupp 3.1.41-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,584 kB
  • sloc: ansic: 31,797; sh: 4,304; makefile: 489; pascal: 66
file content (32 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 *	UNDO system
 *	Copyright
 *		(C) 1992 Joseph H. Allen
 *
 *	This file is part of JOE (Joe's Own Editor)
 */
#ifndef JUPP_UNDO_H
#define JUPP_UNDO_H

#ifdef EXTERN_B_C
__IDSTRING(rcsid_undo_h, "$MirOS: contrib/code/jupp/undo.h,v 1.6 2020/03/27 06:38:59 tg Exp $");
#endif

extern int inundo;
extern int justkilled;

UNDO *undomk(B *b);
void undorm(UNDO *undo);
int uundo(BW *bw);
int uredo(BW *bw);
void umclear(void);
void undomark(void);
void undoins(UNDO *undo, P *p, long int size);
void undodel(UNDO *undo, long int where, B *b);
int uyank(BW *bw);
int uyankpop(BW *bw);
int uyapp(BW *bw);
int unotmod(BW *bw);
int ucopy(BW *bw);

#endif