home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / commands.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  837b  |  26 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. struct cmd {
  9.     /* Type and Name must match data_obj */
  10.     int    Type;
  11.     char    *Name;
  12.     void    (*c_proc) ptrproto((void));
  13. #ifdef MAC
  14.     char c_map;            /* prefix map for About Jove... */
  15.     char c_key;            /* key binding for About Jove... */
  16. #endif
  17. };
  18.  
  19. extern const struct cmd    commands[];
  20.  
  21. extern const struct cmd
  22.     *FindCmd proto((void (*proc) ptrproto((void))));
  23.  
  24. extern void
  25.     ExecCmd proto((data_obj *cp));
  26.