~vcs-imports/simias/trunk

« back to all changes in this revision

Viewing changes to simias/tools/gsoap/gsoap-linux-2.7/import/xmime.h

  • Committer: kalidasbala
  • Date: 2007-08-25 12:48:51 UTC
  • Revision ID: vcs-imports@canonical.com-20070825124851-vlfvzun3732ld196
Latest gsoap code update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
xmime.h
 
4
 
 
5
Use #import "xmime.h" in a gSOAP header file to enable xmlmime 2004/06 bindings.
 
6
 
 
7
The xmime:contentType attribute can be used to associate a MIME type with
 
8
binary content, as in:
 
9
 
 
10
#import "xmime.h"
 
11
struct ns__myBinaryData
 
12
{ unsigned char *__ptr;
 
13
  int __size;
 
14
  @char *xmime__contentType;
 
15
};
 
16
 
 
17
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
 
18
 
 
19
gSOAP XML Web services tools
 
20
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
 
21
This part of the software is released under one of the following licenses:
 
22
GPL, the gSOAP public license, or Genivia's license for commercial use.
 
23
--------------------------------------------------------------------------------
 
24
gSOAP public license.
 
25
 
 
26
The contents of this file are subject to the gSOAP Public License Version 1.3
 
27
(the "License"); you may not use this file except in compliance with the
 
28
License. You may obtain a copy of the License at
 
29
http://www.cs.fsu.edu/~engelen/soaplicense.html
 
30
Software distributed under the License is distributed on an "AS IS" basis,
 
31
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
32
for the specific language governing rights and limitations under the License.
 
33
 
 
34
The Initial Developer of the Original Code is Robert A. van Engelen.
 
35
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
 
36
--------------------------------------------------------------------------------
 
37
GPL license.
 
38
 
 
39
This program is free software; you can redistribute it and/or modify it under
 
40
the terms of the GNU General Public License as published by the Free Software
 
41
Foundation; either version 2 of the License, or (at your option) any later
 
42
version.
 
43
 
 
44
This program is distributed in the hope that it will be useful, but WITHOUT ANY
 
45
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
46
PARTICULAR PURPOSE. See the GNU General Public License for more details.
 
47
 
 
48
You should have received a copy of the GNU General Public License along with
 
49
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
50
Place, Suite 330, Boston, MA 02111-1307 USA
 
51
 
 
52
Author contact information:
 
53
engelen@genivia.com / engelen@acm.org
 
54
--------------------------------------------------------------------------------
 
55
A commercial use license is available from Genivia, Inc., contact@genivia.com
 
56
--------------------------------------------------------------------------------
 
57
*/
 
58
 
 
59
//gsoap xmime schema import: http://www.w3.org/2004/06/xmlmime