4 * (C) 1992 Joseph H. Allen
6 * This file is part of JOE (Joe's Own Editor)
12 __IDSTRING(rcsid_macro_h, "$MirOS: contrib/code/jupp/macro.h,v 1.6 2020/03/27 06:38:57 tg Exp $");
15 /* Set when macro is recording: for status line */
16 extern struct recmac *recmac;
18 /* Macro construction functions */
19 MACRO *mkmacro(int k, int arg, int n, CMD *cmd);
20 void addmacro(MACRO *macro, MACRO *m);
21 MACRO *dupmacro(MACRO *mac);
22 void rmmacro(MACRO *macro);
23 MACRO *macstk(MACRO *m, int k);
24 MACRO *macsta(MACRO *m, int a);
28 /* Text to macro / Macro to text */
29 MACRO *mparse(MACRO *m, unsigned char *buf, int *sta);
30 unsigned char *mtext(unsigned char *s, MACRO *m);
33 extern MACRO *curmacro;
35 int exmacro(MACRO *m, int u);
37 /* Keyboard macros user interface */
38 int uplay(BW *bw, int c);
40 int urecord(BW *bw, int c);
44 /* Repeat prefix user command */
46 int uuarg(BW *bw, int c);