FUNC.H 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /*
  14. * $Source: f:/miner/source/ui/rcs/func.h $
  15. * $Revision: 1.1 $
  16. * $Author: matt $
  17. * $Date: 1994/11/27 14:52:03 $
  18. *
  19. * .
  20. *
  21. * $Log: func.h $
  22. * Revision 1.1 1994/11/27 14:52:03 matt
  23. * Initial revision
  24. *
  25. * Revision 1.1 1994/11/21 14:13:31 matt
  26. * Initial revision
  27. *
  28. * Revision 1.1 1993/11/15 12:28:13 john
  29. * Initial revision
  30. *
  31. *
  32. */
  33. #ifndef _FUNC_H
  34. #define _FUNC_H
  35. typedef struct {
  36. char * name;
  37. int nparams;
  38. int (*cfunction)(void);
  39. } FUNCTION;
  40. void func_init( FUNCTION * funtable, int size );
  41. void func_close();
  42. int (*func_get( char * name, int * numparams ))(void);
  43. int func_howmany();
  44. int (*func_nget( int func_number, int * numparams, char **name ))(void);
  45. void func_set_param( int n, int value );
  46. int func_get_param( int n );
  47. int func_get_index( char * name );
  48. #endif