The contents of these headers is now included in petidomo.h.

This commit is contained in:
Peter Simons 2000-12-13 15:14:50 +00:00
parent f9b5245da1
commit 51eb1b1b6d
5 changed files with 0 additions and 90 deletions

View File

@ -1,12 +0,0 @@
/*
* $Source$
* $Revision$
* $Date$
*
* Copyright (C) 1996 by CyberSolutions GmbH.
* All rights reserved.
*/
#include "rfcparse.h"
int ArchiveMail(const struct Mail * MailStruct, const char * listname);

View File

@ -1,12 +0,0 @@
/*
* $Source$
* $Revision$
* $Date$
*
* Copyright (C) 1996 by CyberSolutions GmbH.
* All rights reserved.
*/
int FindBodyPassword(struct Mail *);
bool isValidAdminPassword(const char * password, const char * listname);
bool isValidPostingPassword(const char * password, const char * listname);

View File

@ -1,10 +0,0 @@
/*
* $Source$
* $Revision$
* $Date$
*
* Copyright (C) 1996 by CyberSolutions GmbH.
* All rights reserved.
*/
int MailFilter(struct Mail * MailStruct, const char * filter);

View File

@ -1,21 +0,0 @@
/*
* $Source$
* $Revision$
* $Date$
*
* Copyright (C) 1996 by CyberSolutions GmbH.
* All rights reserved.
*/
#ifndef MAILER_H
#define MAILER_H
#include <stdio.h>
#include "rfcparse.h"
FILE * OpenMailer(const char * envelope, const char * recipients[]);
FILE * vOpenMailer(const char * envelope, ...);
int CloseMailer(FILE * fh);
int ListMail(const char *, const char *, const struct Mail *);
#endif /* !MAILER_H */

View File

@ -1,35 +0,0 @@
/*
* $Source$
* $Revision$
* $Date$
*
* Copyright (C) 1996 by CyberSolutions GmbH.
* All rights reserved.
*/
#ifndef __RFCPARSE_H__
#define __RFCPARSE_H__ 1
struct Mail {
char * Header;
char * Body;
char * Envelope;
char * From;
char * Subject;
char * Reply_To;
char * Message_Id;
char * Approve;
char * ListSignature;
};
int ParseFromLine(char *);
int ParseReplyToLine(char *);
int ParseMessageIdLine(char *);
int ParseApproveLine(char *);
int ParsePrecedenceLine(char *);
bool isRFC822Address(const char *);
int ParseMail(struct Mail **, char *, const char *);
char * FindApproval(struct Mail *);
void CanonizeAddress(char **, const char *);
#endif /* !__RFCPARSE_H__ */