File: reformat.h

package info (click to toggle)
par 1.52-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 236 kB
  • ctags: 116
  • sloc: ansic: 1,483; makefile: 64
file content (27 lines) | stat: -rw-r--r-- 1,075 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*********************/
/* reformat.h        */
/* for Par 1.52      */
/* Copyright 2001 by */
/* Adam M. Costello  */
/*********************/

/* This is ANSI C code (C89). */


#include "errmsg.h"


char **reformat(
  const char * const *inlines, const char * const *endline, int afp, int fs,
  int hang, int prefix, int suffix, int width, int cap, int fit, int guess,
  int just, int last, int Report, int touch, errmsg_t errmsg
);
  /* inlines is an array of pointers to input lines, up to but not  */
  /* including endline.  inlines and endline must not be equal.     */
  /* The other parameters are the variables of the same name as     */
  /* described in "par.doc".  reformat(inlines, endline, afp, fs,   */
  /* hang, prefix, suffix, width, cap, fit, guess, just, last,      */
  /* Report, touch, errmsg) returns a NULL-terminated array of      */
  /* pointers to output lines containing the reformatted paragraph, */
  /* according to the specification in "par.doc".  None of the      */
  /* integer parameters may be negative.  Returns NULL on failure.  */