xmlmime.h 3.1 KB

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