home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / include / vcc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  3.9 KB  |  77 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /***************************************************************************
  20. (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International             
  21. Business Machines Corporation and Siemens Rolm Communications Inc.             
  22.                                                                                
  23. For purposes of this license notice, the term Licensors shall mean,            
  24. collectively, Apple Computer, Inc., AT&T Corp., International                  
  25. Business Machines Corporation and Siemens Rolm Communications Inc.             
  26. The term Licensor shall mean any of the Licensors.                             
  27.                                                                                
  28. Subject to acceptance of the following conditions, permission is hereby        
  29. granted by Licensors without the need for written agreement and without        
  30. license or royalty fees, to use, copy, modify and distribute this              
  31. software for any purpose.                                                      
  32.                                                                                
  33. The above copyright notice and the following four paragraphs must be           
  34. reproduced in all copies of this software and any software including           
  35. this software.                                                                 
  36.                                                                                
  37. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE       
  38. ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR       
  39. MODIFICATIONS.                                                                 
  40.                                                                                
  41. IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,              
  42. INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT         
  43. OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH         
  44. DAMAGE.                                                                        
  45.                                                                                
  46. EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,       
  47. INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE            
  48. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR             
  49. PURPOSE.                                                                       
  50.  
  51. The software is provided with RESTRICTED RIGHTS.  Use, duplication, or         
  52. disclosure by the government are subject to restrictions set forth in          
  53. DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.                         
  54.  
  55. ***************************************************************************/
  56.  
  57. #ifndef __VCC_H__
  58. #define __VCC_H__ 1
  59.  
  60. XP_BEGIN_PROTOS
  61.  
  62. #include "vobject.h"
  63.  
  64. VObject* Parse_MIME(const char *input, unsigned long len);
  65.  
  66. VObject* Parse_MIME_FromFile(XP_File file);
  67.  
  68. VObject* Parse_MIME_FromFileName(char* fname);
  69.  
  70. typedef void (*MimeErrorHandler)(char *);
  71.  
  72. void registerMimeErrorHandler(MimeErrorHandler);
  73.  
  74. XP_END_PROTOS
  75.  
  76. #endif /* __VCC_H__ */
  77.