Back to index

opendkim  2.6.2
dkim-mailparse.h
Go to the documentation of this file.
00001 /*
00002 **  Copyright (c) 2004 Sendmail, Inc. and its suppliers.
00003 **    All rights reserved.
00004 **
00005 **  Copyright (c) 2009, 2010 The OpenDKIM Project.  All rights reserved.
00006 */
00007 
00008 #ifndef _DKIM_MAILPARSE_H_
00009 #define _DKIM_MAILPARSE_H_
00010 
00011 #ifndef lint
00012 static char dkim_mailparse_h_id[] = "@(#)$Id: dkim-mailparse.h,v 1.3.34.1 2010/10/27 21:43:08 cm-msk Exp $";
00013 #endif /* !lint */
00014 
00015 #ifdef __STDC__
00016 # ifndef __P
00017 #  define __P(x)  x
00018 # endif /* ! __P */
00019 #else /* __STDC__ */
00020 # ifndef __P
00021 #  define __P(x)  ()
00022 # endif /* ! __P */
00023 #endif /* __STDC__ */
00024 
00025 /* prototypes */
00026 extern int dkim_mail_parse __P((unsigned char *line, unsigned char **user_out,
00027                                 unsigned char **domain_out));
00028 
00029 #endif /* ! _DKIM_MAILPARSE_H_ */