2 * $Id: maillist.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
16 #ifndef PITH_MAILLIST_INCLUDED
17 #define PITH_MAILLIST_INCLUDED
21 * Constants and structs to aid RFC 2369 support
28 #define MLCMD_ARCHIVE 5
30 #define MLCMD_MAXDATA 3
31 #define MLCMD_REASON 8192
34 typedef struct rfc2369_field_s
{
40 typedef struct rfc2369_data_s
{
46 typedef struct rfc2369_s
{
48 RFC2369DATA_S data
[MLCMD_MAXDATA
];
52 /* exported protoypes */
53 char **rfc2369_hdrs(char **);
54 int rfc2369_parse_fields(char *, RFC2369_S
*);
57 #endif /* PITH_MAILLIST_INCLUDED */