File: wrap.h

package info (click to toggle)
prayer 1.3.5-dfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,596 kB
  • sloc: ansic: 43,163; makefile: 817; sh: 445; perl: 166
file content (21 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* $Cambridge: hermes/src/prayer/session/wrap.h,v 1.3 2008/09/16 09:59:58 dpc22 Exp $ */
/************************************************
 *    Prayer - a Webmail Interface              *
 ************************************************/

/* Copyright (c) University of Cambridge 2000 - 2008 */
/* See the file NOTICE for conditions of use and distribution. */

#define WRAP_LENGTH    (75)
#define WRAP_SHORTLINE (50)


void wrap_paragraph(struct buffer *b, char *s, unsigned long len);

void
wrap_line_html(struct session *session,
               struct buffer *b, char *s, unsigned long wrap_length);

void
wrap_text_html_quotes(struct buffer *b, char *t,
                      unsigned long line_length, BOOL indent);