Internalfunctions - SmartSlog KP Library
ss_properties.h
Go to the documentation of this file.
1 
32 #include "structures.h"
33 #include "properties.h"
34 #include "classes.h"
35 #include "utils/list.h"
36 #include "utils/check_func.h"
37 #include "ss_func.h"
38 
39 #ifdef KPI_LOW
40  #include <kpilow/kpi_low.h>
41 #else
42  #include <ckpi/ckpi.h>
43 #endif
44 
45 #ifndef _SS_PROPERTIES_H
46 #define _SS_PROPERTIES_H
47 
48 #if defined(WIN32) || defined(WINCE) || defined(SMARTSLOG_WIN_EXPORTS)
49 #define SSLOG_EXTERN __declspec(dllexport)
50 #else
51 #define SSLOG_EXTERN
52 #endif
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
77 SSLOG_EXTERN int sslog_ss_update_property(individual_t *ind, char *propname, void *old_data, void *new_data);
78 /*int ss_update_properties(individual_t *individual, list_t *properties);*/
79 
95 
111 
128 
144 SSLOG_EXTERN int sslog_ss_add_property(void *entity, property_t *prop, void *data);
145 
161 
176 
191 
207 
223 SSLOG_EXTERN list_t* sslog_ss_get_property_max(individual_t *ind, property_t *prop, int max);
224 
239 
258 int ss_set_property_for_individual(individual_t *ind, char *propname, void *data);
259 
274 int ss_set_property_for_class(class_t *ind, char *propname, void *data);
275 
278 #ifdef __cplusplus
279 }
280 #endif
281 
282 #endif /* _SS_PROPERTIES_H */