aboutsummaryrefslogtreecommitdiff
path: root/lib/mudefs.h
blob: 09562f7cbc8c4e5b78ca068a647c7e347b84f3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Mailutils-dependent defines for Mailfromd
   Copyright (C) 2005, 2006, 2008, 2010 Sergey Poznyakoff

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>. */

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <mailutils/types.h>
#include <mailutils/libargp.h>

/* struct mu_argp_node_list was removed in Mailutils'
   commit e1f5e01f (before version 2.1.91). */
#ifdef HAVE_STRUCT_MU_ARGP_NODE_LIST
typedef struct mu_argp_node_list MUDEF_ARGP_NODE_LIST;
# define MUREF(v) &(v)
#else
typedef mu_list_t MUDEF_ARGP_NODE_LIST;
# define MUREF(v) v
#endif

Return to:

Send suggestions and report system problems to the System administrator.