forked from trusteddomainproject/OpenDMARC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparse.h
29 lines (24 loc) · 738 Bytes
/
parse.h
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
/*
** Copyright (c) 2004 Sendmail, Inc. and its suppliers.
** All rights reserved.
**
** Copyright (c) 2009, 2010, 2012, 2021, The Trusted Domain Project.
** All rights reserved.
*/
#ifndef _DMARCF_MAILPARSE_H_
#define _DMARCF_MAILPARSE_H_
#ifdef __STDC__
# ifndef __P
# define __P(x) x
# endif /* ! __P */
#else /* __STDC__ */
# ifndef __P
# define __P(x) ()
# endif /* ! __P */
#endif /* __STDC__ */
/* prototypes */
extern int dmarcf_mail_parse __P((unsigned char *, unsigned char **,
unsigned char **));
extern int dmarcf_mail_parse_multi __P((char *, unsigned char ***,
unsigned char ***, unsigned int *));
#endif /* ! _DMARCF_MAILPARSE_H_ */