xref: /openbsd-src/usr.bin/mg/log.h (revision 15cbecf029d7b235e2c0ca91ccf4ed5d80e158b8)
1*15cbecf0Slum /*      $OpenBSD: log.h,v 1.6 2021/03/02 13:06:50 lum Exp $   */
285c5a5c1Slum 
385c5a5c1Slum /* This file is in the public domain. */
485c5a5c1Slum 
585c5a5c1Slum /*
685c5a5c1Slum  * Specifically for mg logging functionality.
785c5a5c1Slum  *
885c5a5c1Slum  */
9*15cbecf0Slum int	 mglog(PF, void *);
1085c5a5c1Slum int	 mgloginit(void);
117bf68b76Slum int	 mglog_execbuf(	const char* const,
127bf68b76Slum 			const char* const,
137bf68b76Slum 			const char* const,
147bf68b76Slum 			const char* const,
157bf68b76Slum 	     		const int,
167bf68b76Slum 			const int,
177bf68b76Slum 			const char* const,
187bf68b76Slum 			const char* const,
197bf68b76Slum 			const char* const
207bf68b76Slum 			);
217bf68b76Slum 
227bf68b76Slum int	 mglog_isvar(	const char* const,
237bf68b76Slum 			const char* const,
247bf68b76Slum 			const int
257bf68b76Slum 			);
26*15cbecf0Slum int	 mglog_misc(	const char *, ...);
27066b333aSlum 
28*15cbecf0Slum extern const char	*mglogpath_lines;
29*15cbecf0Slum extern const char	*mglogpath_undo;
30*15cbecf0Slum extern const char	*mglogpath_window;
31*15cbecf0Slum extern const char	*mglogpath_key;
32*15cbecf0Slum extern const char	*mglogpath_interpreter;
33*15cbecf0Slum extern const char	*mglogpath_misc;
34