home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 234_01 / hdir.doc < prev    next >
Text File  |  1987-06-18  |  3KB  |  84 lines

  1. /**********************************************************************
  2.     Documentation of program contents of XDIR
  3.  
  4.     XDIR is composed of 7 program subroutines:
  5.  
  6.     XDIR     - main processing module
  7.     YDIR     -
  8.     ZDIR     -
  9.     SECURE   - encryption module
  10.     DISPLAY  - screen display module
  11.     UTIL     - various directory utilities
  12.     GETAPAGE - file listing routine
  13.     CTLR     - scan files for text
  14.  
  15.     The components of each of those routines are as follows:
  16.  
  17.     XDIR
  18.         main     - main processing routine
  19.         action   - take requested action on files
  20.         criteria - get the selection criteria
  21.         dscr     - display action screen
  22.         fcompd   - comparison routine sort files by date
  23.         fcomps   - comparison routine sort files by size
  24.  
  25.     YDIR
  26.         cvatt    - converts file attributes (rhsda)
  27.         cvdate   - converts date
  28.         dirform  -
  29.         get1char - get a single character from console
  30.         lis      - list a file to printer
  31.         prin     -
  32.  
  33.     ZDIR
  34.         bildir   - build list of directories in memory
  35.         bilfil   - build list of files in memory
  36.         dfnam    - display file names
  37.         fcomp    - compare two files during sort
  38.         fswap    - swap two files during sort
  39.         pcomp    - compare two paths
  40.         pswap    - swap two paths during sort
  41.  
  42.     SECURE
  43.         cypher   - main calling routine of encryption
  44.         secure   - security encryption routine
  45.  
  46.     DISPLAY
  47.         boxx     - draw a box on the screen
  48.         cvn      - convert a file name
  49.         cvp      - convert a path name
  50.         display  - display
  51.         disx     -
  52.         isval    - checks option entered is valid
  53.         linex    - writes a line of directory info
  54.  
  55.     UTIL
  56.         dline    - displays a line of directory info
  57.         getpath  - extract path name
  58.         upmod    - update directory with mode
  59.         xcopy    - copy files
  60.         xdump    - dump a file in hex
  61.         xrename  - rename a file
  62.  
  63.     GETAPAGE
  64.         bot      - display message at bottom of screen
  65.         getxline - get a line of text from input file
  66.         top      - display text at top of screen
  67.         typ      - "type" a file to screen , page at a time
  68.  
  69.  
  70.     CTLR
  71.         ctlr     - main control module
  72.         xword    - do a word comparison
  73.         xscan    - scan a file for text strings
  74.         getitem  - get an input item from screen
  75.         sepname  - separate path and file name
  76.         cline    - clear a display line
  77.         sdir     - search a directory
  78.         cmpext   - compare extents
  79.         sbuff    - search a buffer for strings
  80.         xscr     - display an input screen, get parameters
  81.  
  82. **********************************************************************/
  83.  
  84.