Event.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef EVENT_H
00004 #define EVENT_H
00005 
00006 
00017 typedef struct s_UpnpEvent UpnpEvent;
00018 
00019 
00020 #include "ixml.h"       /* for IXML_Document */
00021 #include "UpnpGlobal.h" /* for EXPORT_SPEC */
00022 #include "UpnpString.h"
00023 
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif /* __cplusplus */
00028 
00029 
00031 EXPORT_SPEC UpnpEvent *UpnpEvent_new();
00032 
00034 EXPORT_SPEC void UpnpEvent_delete(UpnpEvent *p);
00035 
00037 EXPORT_SPEC UpnpEvent *UpnpEvent_dup(const UpnpEvent *p);
00038 
00040 EXPORT_SPEC void UpnpEvent_assign(UpnpEvent *p, const UpnpEvent *q);
00041 
00043 EXPORT_SPEC int UpnpEvent_get_EventKey(const UpnpEvent *p);
00044 EXPORT_SPEC void UpnpEvent_set_EventKey(UpnpEvent *p, int n);
00045 
00047 EXPORT_SPEC IXML_Document *UpnpEvent_get_ChangedVariables(const UpnpEvent *p);
00048 EXPORT_SPEC void UpnpEvent_set_ChangedVariables(UpnpEvent *p, IXML_Document *d);
00049 
00051 EXPORT_SPEC const UpnpString *UpnpEvent_get_SID(const UpnpEvent *p);
00052 EXPORT_SPEC const char *UpnpEvent_get_SID_cstr(const UpnpEvent *p);
00053 EXPORT_SPEC void UpnpEvent_set_SID(UpnpEvent *p, const UpnpString *s);
00054 
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif /* __cplusplus */
00059 
00060 
00061 #endif /* EVENT_H */
00062