appHandQNames.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Copyright (C) 2007-2013 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. * GNU Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /*******************************************************************
  19. *
  20. * @author Daniel.Peintner.EXT@siemens.com
  21. * @version 0.8
  22. * @contact Joerg.Heuer@siemens.com
  23. *
  24. * <p>Code generated by EXIdizer.com</p>
  25. * <p>Schema: input/appHandshake/V2G_CI_AppProtocol.xsd</p>
  26. *
  27. *
  28. ********************************************************************/
  29. #ifndef EXI_appHand_QNAMES_H
  30. #define EXI_appHand_QNAMES_H
  31. #include "EXITypes.h"
  32. /**
  33. * \brief Returns efficient qname (namespaceURI & localName) IDs for qnameID
  34. *
  35. * \param state Codec state
  36. * \param qnameID Qualified name ID
  37. * \param namespaceURI QName namespace URI ID
  38. * \param localPart QName local name ID
  39. * \return Error-Code <> 0
  40. *
  41. */
  42. int exiappHandGetEQName(exi_state_t* state, uint16_t qnameID, uint16_t* namespaceURI, uint16_t* localPart);
  43. /**
  44. * \brief Returns qnameID for qname namespaceURI & localName
  45. *
  46. * \param state Codec state
  47. * \param namespaceURI QName namespace URI ID
  48. * \param localPart QName local name ID
  49. * \param qnameID QName ID (out)
  50. * \return Error-Code <> 0
  51. *
  52. */
  53. int exiappHandGetQNameID(exi_state_t* state, uint16_t namespaceURI, uint16_t localPart, uint16_t* qnameID);
  54. /**
  55. * \brief Add efficient qname (namespaceURI & localName) IDs for qnameID
  56. *
  57. * \param state Codec state
  58. * \param qnameID Qualified name ID
  59. * \param namespaceURI QName namespace URI ID
  60. * \param localPart QName local name ID
  61. * \return Error-Code <> 0
  62. *
  63. */
  64. int exiappHandAddEQName(exi_state_t* state, uint16_t* qnameID, uint16_t namespaceURI, uint16_t localPart);
  65. #endif