libUPnP 1.8.0
|
00001 00002 00003 #ifndef EVENTSUBSCRIBE_H 00004 #define EVENTSUBSCRIBE_H 00005 00006 00018 typedef struct s_UpnpEventSubscribe UpnpEventSubscribe; 00019 00020 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 UpnpEventSubscribe *UpnpEventSubscribe_new(); 00032 00034 EXPORT_SPEC void UpnpEventSubscribe_delete(UpnpEventSubscribe *p); 00035 00037 EXPORT_SPEC UpnpEventSubscribe *UpnpEventSubscribe_dup(const UpnpEventSubscribe *p); 00038 00040 EXPORT_SPEC void UpnpEventSubscribe_assign(UpnpEventSubscribe *p, const UpnpEventSubscribe *q); 00041 00043 EXPORT_SPEC int UpnpEventSubscribe_get_ErrCode(const UpnpEventSubscribe *p); 00044 EXPORT_SPEC void UpnpEventSubscribe_set_ErrCode(UpnpEventSubscribe *p, int n); 00045 00047 EXPORT_SPEC int UpnpEventSubscribe_get_TimeOut(const UpnpEventSubscribe *p); 00048 EXPORT_SPEC void UpnpEventSubscribe_set_TimeOut(UpnpEventSubscribe *p, int n); 00049 00055 EXPORT_SPEC const UpnpString *UpnpEventSubscribe_get_SID(const UpnpEventSubscribe *p); 00056 EXPORT_SPEC const char *UpnpEventSubscribe_get_SID_cstr(const UpnpEventSubscribe *p); 00057 EXPORT_SPEC void UpnpEventSubscribe_set_SID(UpnpEventSubscribe *p, const UpnpString *s); 00058 EXPORT_SPEC void UpnpEventSubscribe_strcpy_SID(UpnpEventSubscribe *p, const char *s); 00059 00060 00062 EXPORT_SPEC const UpnpString *UpnpEventSubscribe_get_PublisherUrl(const UpnpEventSubscribe *p); 00063 EXPORT_SPEC const char *UpnpEventSubscribe_get_PublisherUrl_cstr(const UpnpEventSubscribe *p); 00064 EXPORT_SPEC void UpnpEventSubscribe_set_PublisherUrl(UpnpEventSubscribe *p, const UpnpString *s); 00065 EXPORT_SPEC void UpnpEventSubscribe_strcpy_PublisherUrl(UpnpEventSubscribe *p, const char *s); 00066 00067 00068 #ifdef __cplusplus 00069 } 00070 #endif /* __cplusplus */ 00071 00072 00073 #endif /* EVENTSUBSCRIBE_H */ 00074