aboutsummaryrefslogtreecommitdiffstats
path: root/libversit/vcc.h
blob: 0e52034710cf7b25e8d61010da85e8d565ae9175 (plain) (blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/***************************************************************************
(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

#include "vobject.h"


#if defined(__CPLUSPLUS__) || defined(__cplusplus)
extern "C" {
#endif

typedef void (*MimeErrorHandler)(char *);

extern DLLEXPORT(void) registerMimeErrorHandler(MimeErrorHandler);

extern DLLEXPORT(VObject*) Parse_MIME(const char *input, unsigned long len);
extern DLLEXPORT(VObject*) Parse_MIME_FromFileName(char* fname);


/* NOTE regarding Parse_MIME_FromFile
The function above, Parse_MIME_FromFile, comes in two flavors,
neither of which is exported from the DLL. Each version takes
a CFile or FILE* as a parameter, neither of which can be
passed across a DLL interface (at least that is my experience).
If you are linking this code into your build directly then
you may find them a more convenient API that the other flavors
that take a file name. If you use them with the DLL LIB you
will get a link error.
*/


#if INCLUDEMFC
extern VObject* Parse_MIME_FromFile(CFile *file);
#else
extern VObject* Parse_MIME_FromFile(FILE *file);
#endif

#if defined(__CPLUSPLUS__) || defined(__cplusplus)
}
#endif

#endif /* __VCC_H__ */

'>Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-201-3/+3 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-131-3/+3 * Update to KDE 3.5.3lofi2006-06-061-3/+3 * Update to KDE 3.5.2lofi2006-03-311-3/+3 * Update to KDE 3.5.1.lofi2006-02-011-3/+3 * Update to KDE 3.5.0lofi2006-01-092-55/+28 * Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-051-2/+2 * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-011-2/+2 * Update to KDE 3.4.1lofi2005-06-262-5/+2 * Update to KDE 3.4lofi2005-03-212-29/+89 * Fix kde3-i18n ports.lofi2004-12-161-2/+2 * Update to KDE 3.3.2lofi2004-12-142-3/+3 * Update to KDE 3.3.1lofi2004-11-081-2/+2 * Update to KDE 3.3lofi2004-08-313-8/+86 * Update to version 3.2.3lofi2004-06-101-2/+2 * Update to KDE 3.2.2lofi2004-04-202-22/+3 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-103-4/+3 * Update to KDE 3.2.0lofi2004-02-053-26/+155 * Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-2/+2 * Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1 * Catch up with a couple more doc updates.will2003-09-211-1/+1 * Upgrade to Qt 3.2.1 / KDE 3.1.4. See x11/kde3/Makefile rev 1.64 for details.will2003-09-181-1/+1 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-292-1/+16 * Update to KDE 3.1.2lioux2003-05-202-4/+4 * Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-061-1/+1 * Clear moonlight beckons.ade2003-03-072-1/+1 * Upgrade kde-i18n to 3.1. Note that the following modules did not get awill2003-01-292-5/+55 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-112-3/+1 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-252-4/+3 * 1. Changed the lib depends on gettext to a build depends. This will meanalane2002-08-031-2/+2 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-021-0/+1 * Chase shlib rev of devel/gettextade2002-08-021-1/+1 * Fix MASTER_SITE_SUBDIR.will2002-07-101-1/+1 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-053-8/+5 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-163-2/+4 * Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-227-128/+292 * gettext upgrade uber-patch (stage 3)ade2002-04-131-1/+2 * Stage 1 of gettext update.ade2002-03-161-1/+1 * Add WWW.demon2001-12-281-0/+2