summaryrefslogtreecommitdiff
path: root/usr.bin/mg/log.h
blob: 13ee0c0c6376a7c83585b36e240fef0ba487f9cb (plain)
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
33
/*      $OpenBSD: log.h,v 1.6 2021/03/02 13:06:50 lum Exp $   */

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

/*
 * Specifically for mg logging functionality.
 *
 */
int	 mglog(PF, void *);
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
			);
int	 mglog_misc(	const char *, ...);

extern const char	*mglogpath_lines;
extern const char	*mglogpath_undo;
extern const char	*mglogpath_window;
extern const char	*mglogpath_key;
extern const char	*mglogpath_interpreter;
extern const char	*mglogpath_misc;