putoptv.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*====================================================================*
  2. *
  3. * putoptv.h - putopt related definitions and declarations;
  4. *
  5. * Motley Tools by Charles Maier;
  6. * Copyright 2001-2006 by Charles Maier Associates;
  7. * Licensed under the Internet Software Consortium License;
  8. *
  9. *--------------------------------------------------------------------*/
  10. #ifndef PUTOPTV_HEADER
  11. #define PUTOPTV_HEADER
  12. /*====================================================================*
  13. * constant definitions;
  14. *--------------------------------------------------------------------*/
  15. #define PUTOPTV_I_OPTIONS 0
  16. #define PUTOPTV_I_COMMAND 1
  17. #define PUTOPTV_I_PROGRAM 2
  18. #define PUTOPTV_I_DETAILS 3
  19. #define PUTOPTV_S_FILTER "file [file] [...] or [< stdin][> stdout]"
  20. #define PUTOPTV_S_FUNNEL "file [file] [...] [> stdout]"
  21. #define PUTOPTV_S_SEARCH "findspec [findspec] [...] [> stdout]"
  22. #define PUTOPTV_S_DIVINE "[> stdout]"
  23. /*====================================================================*
  24. * function declarations;
  25. *--------------------------------------------------------------------*/
  26. void putoptv (char const *help []);
  27. /*====================================================================*
  28. * end definitions;
  29. *--------------------------------------------------------------------*/
  30. #endif