help.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* =============================================================================
  2. * PROGRAM: ularn
  3. * FILENAME: help.h
  4. *
  5. * DESCRIPTION:
  6. * This module contains functions to display the help file and the welcome
  7. * screen.
  8. *
  9. * format of the Ularn help file:
  10. *
  11. * The 1st character of file is the # of pages of help available (ascii digit).
  12. * The first page (23 lines) of the file is for the introductory message
  13. * (not counted in above).
  14. * The pages of help text are 23 lines per page.
  15. * The help file allows escape sequences for specifying formatting of the
  16. * text.
  17. * The currently supported sequences are:
  18. * ^[[7m - Set text format to standout (red)
  19. * ^[[8m - Set text format to standout2 (green)
  20. * ^[[9m - Set text format to standout3 (blue)
  21. * ^[[m - Set text format to normal.
  22. *
  23. * =============================================================================
  24. * EXPORTED VARIABLES
  25. *
  26. * None.
  27. *
  28. * =============================================================================
  29. * EXPORTED FUNCTIONS
  30. *
  31. * help - Display the help file.
  32. * welcome - Display the welcome message
  33. *
  34. * =============================================================================
  35. */
  36. #ifndef __HELP_H
  37. #define __HELP_H
  38. /* =============================================================================
  39. * FUNCTION: help
  40. *
  41. * DESCRIPTION:
  42. * Function to display the help file.
  43. *
  44. * PARAMETERS:
  45. *
  46. * None.
  47. *
  48. * RETURN VALUE:
  49. *
  50. * None.
  51. */
  52. void help(void);
  53. /* =============================================================================
  54. * FUNCTION: welcome
  55. *
  56. * DESCRIPTION:
  57. * Function to display the welcome message and background
  58. *
  59. * PARAMETERS:
  60. *
  61. * None.
  62. *
  63. * RETURN VALUE:
  64. *
  65. * None.
  66. */
  67. void welcome(void);
  68. #endif