minix/external/bsd/nvi/dist/common/log.h
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

31 lines
803 B
C

/* $NetBSD: log.h,v 1.2 2013/11/22 15:52:05 christos Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
* Copyright (c) 1992, 1993, 1994, 1995, 1996
* Keith Bostic. All rights reserved.
*
* See the LICENSE file for redistribution information.
*
* Id: log.h,v 10.4 2002/06/08 21:00:33 skimo Exp (Berkeley) Date: 2002/06/08 21:00:33
*/
#define LOG_NOTYPE 0
#define LOG_CURSOR_INIT 2
#define LOG_CURSOR_END 3
#define LOG_LINE_APPEND_B 4
#define LOG_LINE_APPEND_F 5
#define LOG_LINE_DELETE_B 6
#define LOG_LINE_DELETE_F 7
#define LOG_LINE_RESET_B 8
#define LOG_LINE_RESET_F 9
#define LOG_MARK 10
typedef enum { UNDO_FORWARD, UNDO_BACKWARD, UNDO_SETLINE } undo_t;
struct _log_state {
int didop;
MARK pos;
undo_t undo;
};