1*2818a53fSderaadt /* $OpenBSD: macro.h,v 1.7 2005/11/18 20:56:53 deraadt Exp $ */ 200e5ac59Skjell 300e5ac59Skjell /* This file is in the public domain. */ 4d4e7c603Sniklas 5be803e14Sderaadt /* definitions for keyboard macros */ 6be803e14Sderaadt 7be803e14Sderaadt #define MAXMACRO 256 /* maximum functs in a macro */ 8be803e14Sderaadt 9aafdab64Svincent extern int inmacro; 10aafdab64Svincent extern int macrodef; 11aafdab64Svincent extern int macrocount; 12be803e14Sderaadt 13aafdab64Svincent union macrodef { 14be803e14Sderaadt PF m_funct; 15be803e14Sderaadt int m_count; /* for count-prefix */ 16aafdab64Svincent }; 17be803e14Sderaadt 18aafdab64Svincent extern union macrodef macro[MAXMACRO]; 19be803e14Sderaadt 20*2818a53fSderaadt extern struct line *maclhead; 21*2818a53fSderaadt extern struct line *maclcur; 22