home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / par150o2.zip / reformat.h < prev    next >
C/C++ Source or Header  |  1996-01-21  |  1KB  |  28 lines

  1. /*********************/
  2. /* reformat.h        */
  3. /* for Par 1.50      */
  4. /* Copyright 1996 by */
  5. /* Adam M. Costello  */
  6. /*********************/
  7.  
  8. /* This is ANSI C code. */
  9.  
  10.  
  11. #include "errmsg.h"
  12.  
  13.  
  14. char **reformat(
  15.   const char * const *inlines, const char * const *endline, int afp, int fs,
  16.   int hang, int prefix, int suffix, int width, int cap, int fit, int guess,
  17.   int just, int last, int Report, int touch, errmsg_t errmsg
  18. );
  19.   /* inlines is an array of pointers to input lines, up to but not  */
  20.   /* including endline.  inlines and endline must not be equal.     */
  21.   /* The other parameters are the variables of the same name as     */
  22.   /* described in "par.doc".  reformat(inlines, endline, afp, fs,   */
  23.   /* hang, prefix, suffix, width, cap, fit, guess, just, last,      */
  24.   /* Report, touch, errmsg) returns a NULL-terminated array of      */
  25.   /* pointers to output lines containing the reformatted paragraph, */
  26.   /* according to the specification in "par.doc".  None of the      */
  27.   /* integer parameters may be negative.  Returns NULL on failure.  */
  28.