1 /* include file for the LISP - PSLLW communication */ 2 3 #define YIELD 0 4 #define PUTS 1 5 #define PUTINT 2 6 #define PUTOCT 3 7 #define NEWLINE 4 8 #define PUTC 5 9 #define BINARYOPENREAD 6 10 #define BINARYOPENWRITE 7 11 #define BINARYCLOSE 8 12 #define BINARYREADBLOCK 9 13 #define BINARYWRITEBLOCK 10 14 #define GETDATE 12 15 #define TIMC 13 16 #define SIGNAL 14 17 #define CD 15 18 #define FGETS 16 19 #define SYSTEM 17 20 #define YESP 18 21 #define GETTIME 19 22 #define LINELENGTH 20 23 #define ASKUSER 21 24 #define LSEEK 22 25 #define HELP 23 26 #define CONNECT_OPEN 24 27 #define CONNECT_CLOSE 25 28 #define CONNECT_FETCH 26 29 #define CONNECT_SEND 27 30 #define CONNECT_ASK 28 31 #define CONNECT_BLOCK 29 32 #define SLEEP 30 33 #define PSLL_RESET 31 34 #define EXIT_WITH_STATUS 32 35 #define PIPE_OPEN 33 36 #define PIPE_CLOSE 34 37 #define PAGE 35 38 #define MENU 36 39 #define WIN_PAR 37 40 #define FILE_TREE 38 41 #define PIPE_WRITE 39 42 43 44 /* functions for callback */ 45 46 47 #define PSLCALL_TERMINAL_INTERRUPT 0 48 #define PSLCALL_RESIZE 1 49 #define PSLCALL_GRAPHICS_MODE 3 50 #define PSLCALL_GRAPHICS_MODE_ON 3 51 #define PSLCALL_GRAPHICS_MODE_OFF 4 52 #define PSLCALL_MENU 5 53