Internalfunctions - SmartSlog KP Library
subscription.h
Go to the documentation of this file.
1 
76 #ifdef KPI_LOW
77  #include <kpilow/kpi_low.h>
78 #else
79  #include <ckpi/ckpi.h>
80 #endif
81 
82 
83 #include <stdio.h>
84 
85 #include "structures.h"
86 #include "subscription_changes.h"
87 
88 #include "utils/list.h"
89 
90 
91 #ifndef _SS_SUBSCRIBE_H
92 #define _SS_SUBSCRIBE_H
93 
94 #if defined(WIN32) || defined(WINCE) || defined(SMARTSLOG_WIN_EXPORTS)
95 #define SSLOG_EXTERN __declspec(dllexport)
96 #else
97 #define SSLOG_EXTERN
98 #endif
99 
100 
101 #ifdef __cplusplus
102 extern "C" {
103 #endif
104 
105 
106 /******************************************************************************/
107 /****************************** Structures list *******************************/
108 
110 
111 // It is needed only for doxygen, to generate stract docs without
112 // internal fields and internal *.h files.
113 #ifdef DOXY_EXTERNAL_ONLY_DATA
114 
118 struct subscription_s {
119 };
120 #endif
121 
127 
129 
130 /******************************************************************************/
131 /****************************** Functions list ********************************/
132 
134 
151 
163 
164 
183 
199 SSLOG_EXTERN const char* sslog_sbcr_get_id(subscription_t *subscription);
200 
223 
224 
245  void (*handler)(subscription_t *));
246 
247 
275  void (*handler)(subscription_t *));
276 
277 
297  individual_t *individual, list_t *properties);
298 
318 SSLOG_EXTERN int sslog_sbcr_add_class(subscription_t *subscription, class_t *ont_class);
319 
320 
352 
380 
395 SSLOG_EXTERN void sslog_sbcr_unsubscribe_all(bool with_free);
396 
397 
425 SSLOG_EXTERN int sslog_sbcr_wait(subscription_t *subscription);
426 
441 SSLOG_EXTERN void sslog_sbcr_stop(subscription_t *subscription);
442 
457 
459 
460 
461 #ifdef __cplusplus
462 }
463 #endif
464 
465 #endif /* _SS_SUBSCRIBE_H */