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