Remove building with NOCRYPTO option
[minix.git] / external / bsd / nvi / dist / common / log.h
blob39632f884d0e3736c07a1a91f22f087f28d23daa
1 /* $NetBSD: log.h,v 1.2 2013/11/22 15:52:05 christos Exp $ */
2 /*-
3 * Copyright (c) 1992, 1993, 1994
4 * The Regents of the University of California. All rights reserved.
5 * Copyright (c) 1992, 1993, 1994, 1995, 1996
6 * Keith Bostic. All rights reserved.
8 * See the LICENSE file for redistribution information.
10 * Id: log.h,v 10.4 2002/06/08 21:00:33 skimo Exp (Berkeley) Date: 2002/06/08 21:00:33
13 #define LOG_NOTYPE 0
14 #define LOG_CURSOR_INIT 2
15 #define LOG_CURSOR_END 3
16 #define LOG_LINE_APPEND_B 4
17 #define LOG_LINE_APPEND_F 5
18 #define LOG_LINE_DELETE_B 6
19 #define LOG_LINE_DELETE_F 7
20 #define LOG_LINE_RESET_B 8
21 #define LOG_LINE_RESET_F 9
22 #define LOG_MARK 10
24 typedef enum { UNDO_FORWARD, UNDO_BACKWARD, UNDO_SETLINE } undo_t;
26 struct _log_state {
27 int didop;
28 MARK pos;
29 undo_t undo;