1998-03-28 02:44:41 +00:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1998-03-28 02:44:41 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1998-03-28 02:44:41 +00:00
|
|
|
*
|
1999-11-06 03:40:37 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1998-03-28 02:44:41 +00:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:40:37 +00:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1998-03-28 02:44:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
|
|
|
|
Business Machines Corporation and Siemens Rolm Communications Inc.
|
|
|
|
|
|
|
|
For purposes of this license notice, the term Licensors shall mean,
|
|
|
|
collectively, Apple Computer, Inc., AT&T Corp., International
|
|
|
|
Business Machines Corporation and Siemens Rolm Communications Inc.
|
|
|
|
The term Licensor shall mean any of the Licensors.
|
|
|
|
|
|
|
|
Subject to acceptance of the following conditions, permission is hereby
|
|
|
|
granted by Licensors without the need for written agreement and without
|
|
|
|
license or royalty fees, to use, copy, modify and distribute this
|
|
|
|
software for any purpose.
|
|
|
|
|
|
|
|
The above copyright notice and the following four paragraphs must be
|
|
|
|
reproduced in all copies of this software and any software including
|
|
|
|
this software.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
|
|
|
|
ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
|
|
|
|
MODIFICATIONS.
|
|
|
|
|
|
|
|
IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
|
|
|
|
INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
|
|
|
|
OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
|
|
|
DAMAGE.
|
|
|
|
|
|
|
|
EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
|
|
|
|
INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE.
|
|
|
|
|
|
|
|
The software is provided with RESTRICTED RIGHTS. Use, duplication, or
|
|
|
|
disclosure by the government are subject to restrictions set forth in
|
|
|
|
DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
|
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __VCC_H__
|
|
|
|
#define __VCC_H__ 1
|
|
|
|
|
|
|
|
XP_BEGIN_PROTOS
|
|
|
|
|
|
|
|
#include "vobject.h"
|
|
|
|
|
|
|
|
VObject* Parse_MIME(const char *input, unsigned long len);
|
|
|
|
|
|
|
|
VObject* Parse_MIME_FromFile(XP_File file);
|
|
|
|
|
|
|
|
VObject* Parse_MIME_FromFileName(char* fname);
|
|
|
|
|
|
|
|
typedef void (*MimeErrorHandler)(char *);
|
|
|
|
|
|
|
|
void registerMimeErrorHandler(MimeErrorHandler);
|
|
|
|
|
|
|
|
XP_END_PROTOS
|
|
|
|
|
|
|
|
#endif /* __VCC_H__ */
|