/* $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);
