#include <dc_Plugin.h>
Data Fields | |
| int(* | create_subsc )(struct dpws *dpws, uint32_t duration, char **filter, int filter_size, struct wsa_endpoint_ref *notify_to, struct wsa_endpoint_ref *end_to, char **uuid) |
| Create subscription hook. | |
| int(* | renew_subsc )(struct dpws *dpws, char *subsc_id, uint32_t duration) |
| Renew subscription hook. | |
| int(* | subsc_status )(struct dpws *dpws, char *subsc_id, uint32_t *duration) |
| Retrieves the remaining duration for a subscription. | |
| int(* | delete_subsc )(struct dpws *, char *) |
| Delete subscription hook. | |
| int(* create_subsc)(struct dpws *dpws, uint32_t duration, char **filter, int filter_size, struct wsa_endpoint_ref *notify_to, struct wsa_endpoint_ref *end_to, char **uuid) |
Create subscription hook.
| dpws | A pointer on a dpws runtime data structure. | |
| duration | The requested duration for the subscription (in seconds). Note that the duration has been put a ceiling according to the registry settings. | |
| filter | An URI array containing the actions that are concerned by the subscription. | |
| filter_size | The size of the preceding filter array. | |
| notify_to | The EPR that should receive the notification. | |
| end_to | The EPR that should receive the notification end (may not be used since the condition to send it may not be known by the implementor.) | |
| [out] | uuid | An UUID for the subscription in its text form (using hex encoding). If data is not persistent, it should be allocated on the gSOAP heap. |
| int(* renew_subsc)(struct dpws *dpws, char *subsc_id, uint32_t duration) |
Renew subscription hook.
| dpws | A pointer on a dpws runtime data structure. | |
| subsc_id | The UUID of the subscription. | |
| duration | The requested duration for the subscription (in seconds). Note that the duration has been but a ceiling according to the registry settings. |
| int(* subsc_status)(struct dpws *dpws, char *subsc_id, uint32_t *duration) |
| int(* delete_subsc)(struct dpws *, char *) |
1.5.8