[BACK]Return to log.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

File: [local] / src / usr.bin / mg / log.h (download)

Revision 1.5, Thu Jul 18 10:50:24 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.4: +19 -3 lines

Add logging to interpreter.c

/*      $OpenBSD: log.h,v 1.5 2019/07/18 10:50:24 lum Exp $   */

/* This file is in the public domain. */

/*
 * Specifically for mg logging functionality.
 *
 */
int	 mglog(PF, KEYMAP *);
int	 mgloginit(void);
int	 mglog_execbuf(	const char* const,
			const char* const,
			const char* const,
			const char* const,
	     		const int,
			const int,
			const char* const,
			const char* const,
			const char* const
			);

int	 mglog_isvar(	const char* const,
			const char* const,
			const int
			);

char 			*mglogpath_lines;
char 			*mglogpath_undo;
char 			*mglogpath_window;
char 			*mglogpath_key;
char			*mglogpath_interpreter;