Home | History | Annotate | Line # | Download | only in global
      1 /*	$NetBSD: quote_flags.h,v 1.2 2020/03/18 19:05:16 christos Exp $	*/
      2 
      3 /*++
      4 /* NAME
      5 /*	quote_flags 3h
      6 /* SUMMARY
      7 /*	quote rfc 821/822 local part
      8 /* SYNOPSIS
      9 /*	#include "quote_flags.h"
     10 /* DESCRIPTION
     11 /* .nf
     12 
     13  /*
     14   * Utility library.
     15  */
     16 #include <vstring.h>
     17 
     18  /*
     19   * External interface.
     20   */
     21 #define QUOTE_FLAG_8BITCLEAN	(1<<0)	/* be 8-bit clean */
     22 #define QUOTE_FLAG_EXPOSE_AT	(1<<1)	/* @ is ordinary text */
     23 #define QUOTE_FLAG_APPEND	(1<<2)	/* append, not overwrite */
     24 #define QUOTE_FLAG_BARE_LOCALPART (1<<3)/* all localpart, no @domain */
     25 
     26 #define QUOTE_FLAG_DEFAULT	QUOTE_FLAG_8BITCLEAN
     27 
     28 extern int quote_flags_from_string(const char *);
     29 extern const char *quote_flags_to_string(VSTRING *, int);
     30 
     31 /* LICENSE
     32 /* .ad
     33 /* .fi
     34 /*	The Secure Mailer license must be distributed with this software.
     35 /* AUTHOR(S)
     36 /*	Wietse Venema
     37 /*	IBM T.J. Watson Research
     38 /*	P.O. Box 704
     39 /*	Yorktown Heights, NY 10598, USA
     40 /*
     41 /*	Wietse Venema
     42 /*	Google, Inc.
     43 /*	111 8th Avenue
     44 /*	New York, NY 10011, USA
     45 /*--*/
     46