libnetconf  0.10.0-146_trunk
NETCONF Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
49 extern "C" {
50 #endif
51 
99 int ncxmlntf_event_new(time_t etime, NCNTF_EVENT event, ...);
100 
110 nc_ntf* ncxmlntf_notif_create(time_t event_time, const xmlNodePtr content);
111 
120 xmlNodePtr ncxmlntf_notif_get_content(nc_ntf* notif);
121 
122 #ifdef __cplusplus
123 }
124 #endif
125 
126 #endif /* NC_NOTIFICATIONS_XML_H_ */
struct nc_msg nc_ntf
Event notification message.
Definition: netconf.h:68
Functions to handle NETCONF Notifications.
NCNTF_EVENT
Enumeration of supported NETCONF event notifications.
Definition: notifications.h:58
nc_ntf * ncxmlntf_notif_create(time_t event_time, const xmlNodePtr content)
Create a new <notification> message with the given eventTime and content.
libnetconf's general public functions and structures definitions.
xmlNodePtr ncxmlntf_notif_get_content(nc_ntf *notif)
Get the description of the event reported in the notification message.
int ncxmlntf_event_new(time_t etime, NCNTF_EVENT event,...)
Store a new event into the specified stream. Parameters are specific for different events...