appHand_dataTypes.c 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Copyright (C) 2007-2012 Siemens AG
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Lesser General Public License as published
  6. * by the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. /*******************************************************************
  18. *
  19. * @author Sebastian.Kaebisch.EXT@siemens.com
  20. * @version 0.6
  21. * @contact Joerg.Heuer@siemens.com
  22. *
  23. * <p>Code generated by EXISeGen</p>
  24. *
  25. ********************************************************************/
  26. #include "EXITypes.h"
  27. #include "appHand_dataTypes.h"
  28. static void init_protocolNamespaceType(struct protocolNamespaceType* type)
  29. {
  30. type->arraylen.data=0;
  31. }
  32. static void init_AppProtocolType(struct AppProtocolType* type)
  33. {
  34. init_protocolNamespaceType(&(type->ProtocolNamespace));
  35. }
  36. void init_AnonType_supportedAppProtocolReq(struct AnonType_supportedAppProtocolReq* type)
  37. {
  38. int i_loop;
  39. for(i_loop=0; i_loop<20;i_loop++)
  40. {
  41. init_AppProtocolType(&(type->AppProtocol[i_loop]));
  42. }
  43. type->arraylen.AppProtocol=0;
  44. }
  45. void init_AnonType_supportedAppProtocolRes(struct AnonType_supportedAppProtocolRes* type)
  46. {
  47. type->isused.SchemaID=0;
  48. }
  49. void init_EXIDocumentType_appHand(struct EXIDocumentType_appHand* type)
  50. {
  51. type->isused.supportedAppProtocolReq=0;
  52. type->isused.supportedAppProtocolRes=0;
  53. }