2 * $Id: maillist.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2022 Eduardo Chappa
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_MAILLIST_INCLUDED
18 #define PITH_MAILLIST_INCLUDED
22 * Constants and structs to aid RFC 2369 support
29 #define MLCMD_ARCHIVE 5
31 #define MLCMD_MAXDATA 3
32 #define MLCMD_REASON 8192
35 typedef struct rfc2369_field_s
{
41 typedef struct rfc2369_data_s
{
47 typedef struct rfc2369_s
{
49 RFC2369DATA_S data
[MLCMD_MAXDATA
];
53 /* exported prototypes */
54 char **rfc2369_hdrs(char **);
55 int rfc2369_parse_fields(char *, RFC2369_S
*);
58 #endif /* PITH_MAILLIST_INCLUDED */