libnetconf 0.10.0-0.10.0
NETCONF Library
Loading...
Searching...
No Matches
notifications_xml.h
Go to the documentation of this file.
1
40#ifndef NC_NOTIFICATIONS_XML_H_
41#define NC_NOTIFICATIONS_XML_H_
42
43#include <libxml/tree.h>
44
45#include "netconf.h"
46#include "notifications.h"
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
99int ncxmlntf_event_new(time_t etime, NCNTF_EVENT event, ...);
100
110nc_ntf* ncxmlntf_notif_create(time_t event_time, const xmlNodePtr content);
111
121
122#ifdef __cplusplus
123}
124#endif
125
126#endif /* NC_NOTIFICATIONS_XML_H_ */
nc_ntf * ncxmlntf_notif_create(time_t event_time, const xmlNodePtr content)
Create a new <notification> message with the given eventTime and content.
int ncxmlntf_event_new(time_t etime, NCNTF_EVENT event,...)
Store a new event into the specified stream. Parameters are specific for different events.
xmlNodePtr ncxmlntf_notif_get_content(nc_ntf *notif)
Get the description of the event reported in the notification message.
struct nc_msg nc_ntf
Event notification message.
Definition netconf.h:68
NCNTF_EVENT
Enumeration of supported NETCONF event notifications.
Definition notifications.h:58
libnetconf's general public functions and structures definitions.
Functions to handle NETCONF Notifications.