trapi.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /* import tr-069.h generated by wsdl2h */
  2. #import "tr-069.h"
  3. /** TR-069 SOAP headers */
  4. struct SOAP_ENV__Header
  5. {
  6. struct _cwmp__SupportedCWMPVersions *cwmp__SupportedCWMPVersions;
  7. struct _cwmp__UseCWMPVersion *cwmp__UseCWMPVersion;
  8. struct _cwmp__SessionTimeout *cwmp__SessionTimeout;
  9. struct _cwmp__ID *cwmp__ID;
  10. struct _cwmp__HoldRequests *cwmp__HoldRequests;
  11. };
  12. /** TR-069 SOAP fault details */
  13. struct SOAP_ENV__Detail
  14. {
  15. struct _cwmp__Fault *cwmp__Fault;
  16. _XML __any;
  17. };
  18. /* TR-069 common operations */
  19. //gsoap cwmp service name: cwmp
  20. //gsoap cwmp service style: rpc
  21. //gsoap cwmp service encoding: encoded
  22. //gsoap cwmp service method-fault: GetParameterNames cwmp__Fault
  23. /** GetParameterNames: Retrieve list of supported parameters from the device. */
  24. int __cwmp__GetParameterNames(
  25. struct _cwmp__GetParameterNames *cwmp__GetParameterNames,
  26. struct _cwmp__GetParameterNamesResponse *cwmp__GetParameterNamesResponse);
  27. //gsoap cwmp service method-fault: GetParameterValues cwmp__Fault
  28. /** GetParameterValues: Retrieve current value of the parameter(s) identified by keys. A variation of this call takes an object as its key. It retrieves all of the object's parameters */
  29. int __cwmp__GetParameterValues(
  30. struct _cwmp__GetParameterValues *cwmp__GetParameterValues,
  31. struct _cwmp__GetParameterValuesResponse *cwmp__GetParameterValuesResponse);
  32. //gsoap cwmp service method-fault: GetParameterValuesResponse cwmp__Fault
  33. /** GetParameterValuesResponse: Send current value of the parameter(s) identified by keys. This is a SOAP one-way message invoked as soap_send___cwmp__GetParameterValuesResponse() followed by soap_recv_empty_response() to check the server's response that should be a HTTP 204 status code */
  34. int __cwmp__GetParameterValuesResponse(
  35. struct _cwmp__GetParameterValuesResponse *cwmp__GetParameterValuesResponse,
  36. void);
  37. //gsoap cwmp service method-input-header-part: SetParameterValues cwmp__ID
  38. //gsoap cwmp service method-fault: SetParameterValues cwmp__Fault
  39. /** SetParameterValues: Set the value of one or more parameters */
  40. int __cwmp__SetParameterValues(
  41. struct _cwmp__SetParameterValues *cwmp__SetParameterValues,
  42. struct _cwmp__SetParameterValuesResponse *cwmp__SetParameterValuesResponse);
  43. //gsoap cwmp service method-fault: GetParameterAttributes cwmp__Fault
  44. /** GetParameterAttributes: Retrieve attributes of one or more parameters */
  45. int __cwmp__GetParameterAttributes(
  46. struct _cwmp__GetParameterAttributes *cwmp__GetParameterAttributes,
  47. struct _cwmp__GetParameterAttributesResponse *cwmp__GetParameterAttributesResponse);
  48. //gsoap cwmp service method-fault: SetParameterAttributes cwmp__Fault
  49. /** SetParameterAttributes: Set attributes of one or more parameters */
  50. int __cwmp__SetParameterAttributes(
  51. struct _cwmp__SetParameterAttributes *cwmp__SetParameterAttributes,
  52. struct _cwmp__SetParameterAttributesResponse *cwmp__SetParameterAttributesResponse);
  53. //gsoap cwmp service method-fault: Download cwmp__Fault
  54. /** Download: Order CPE to download and use a file, specified by URL. File types include Firmware Image, Configuration File, Ringer file, etc. */
  55. int __cwmp__Download(
  56. struct _cwmp__Download *cwmp__Download,
  57. struct _cwmp__DownloadResponse *cwmp__DownloadResponse);
  58. //gsoap cwmp service method-fault: Upload cwmp__Fault
  59. /** Upload: Order CPE to upload a file to a specified destination. File types include the current configuration file, log files, etc. */
  60. int __cwmp__Upload(
  61. struct _cwmp__Upload *cwmp__Upload,
  62. struct _cwmp__UploadResponse *cwmp__UploadResponse);
  63. //gsoap cwmp service method-fault: AddObject cwmp__Fault
  64. /** AddObject: Add new instance to an object */
  65. int __cwmp__AddObject(
  66. struct _cwmp__AddObject *cwmp__AddObject,
  67. struct _cwmp__AddObjectResponse *cwmp__AddObjectResponse);
  68. //gsoap cwmp service method-fault: DeleteObject cwmp__Fault
  69. /** DeleteObject: Remove instance from an object */
  70. int __cwmp__DeleteObject(
  71. struct _cwmp__DeleteObject *cwmp__DeleteObject,
  72. struct _cwmp__DeleteObjectResponse *cwmp__DeleteObjectResponse);
  73. //gsoap cwmp service method-fault: GetRPCMethods cwmp__Fault
  74. /** _cwmp__GetRPCMethods: Annex A.3.1.1 */
  75. int __cwmp__GetRPCMethods(
  76. struct _cwmp__GetRPCMethods *cwmp__GetRPCMethods,
  77. struct _cwmp__GetRPCMethodsResponse *cwmp__GetRPCMethodsResponse);
  78. //gsoap cwmp service method-fault: Inform cwmp__Fault
  79. /** Inform: Send Scheduled Inform to ACS*/
  80. int __cwmp__Inform(
  81. struct _cwmp__Inform *cwmp__Inform,
  82. struct _cwmp__InformResponse *cwmp__InformResponse);
  83. int __cwmp__Reboot(
  84. struct _cwmp__Reboot *cwmp__Reboot,
  85. struct _cwmp__RebootResponse *cwmp__RebootResponse);
  86. int __cwmp__FactoryReset(
  87. struct _cwmp__FactoryReset *cwmp__FactoryReset,
  88. struct _cwmp__FactoryResetResponse *cwmp__FactoryResetResponse);