xop.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. xop.h
  19. Use #import "xop.h" in a gSOAP header file to enable MTOM attachments.
  20. Use SOAP_ENC_MTOM flag in your code to switch to MTOM attachments, see
  21. the gSOAP documentation soapdoc2.html
  22. Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
  23. gSOAP XML Web services tools
  24. Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
  25. This part of the software is released under one of the following licenses:
  26. GPL, the gSOAP public license, or Genivia's license for commercial use.
  27. --------------------------------------------------------------------------------
  28. gSOAP public license.
  29. The contents of this file are subject to the gSOAP Public License Version 1.3
  30. (the "License"); you may not use this file except in compliance with the
  31. License. You may obtain a copy of the License at
  32. http://www.cs.fsu.edu/~engelen/soaplicense.html
  33. Software distributed under the License is distributed on an "AS IS" basis,
  34. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  35. for the specific language governing rights and limitations under the License.
  36. The Initial Developer of the Original Code is Robert A. van Engelen.
  37. Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
  38. --------------------------------------------------------------------------------
  39. GPL license.
  40. This program is free software; you can redistribute it and/or modify it under
  41. the terms of the GNU General Public License as published by the Free Software
  42. Foundation; either version 2 of the License, or (at your option) any later
  43. version.
  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. You should have received a copy of the GNU General Public License along with
  48. this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  49. Place, Suite 330, Boston, MA 02111-1307 USA
  50. Author contact information:
  51. engelen@genivia.com / engelen@acm.org
  52. --------------------------------------------------------------------------------
  53. A commercial use license is available from Genivia, Inc., contact@genivia.com
  54. --------------------------------------------------------------------------------
  55. */
  56. //gsoap xop schema import: http://www.w3.org/2004/08/xop/include
  57. struct _xop__Include {
  58. unsigned char *__ptr;
  59. int __size;
  60. char *id;
  61. char *type;
  62. char *options;
  63. };