ifeq ($(CONFIG_OC_ULUT),y)
include_HEADERS = ul_dbuff.h ul_evcbase.h ul_gavl.h ul_gavlcust.h \
- ul_gavlflesint.h ul_gavlrepcust.h ul_gsa.h ul_gsacust.h \
+ ul_gavlflesint.h ul_gavlrepcust.h ul_gsa.h ul_gsacust.h \
ul_hptree.h ul_htimdefs.h ul_htimer.h ul_itbase.h \
ul_list.h ul_listbase.h ul_utdefs.h ul_utmalloc.h \
ul_uniqid.h ul_dbufflog.h ul_log.h ul_logbase.h \
- ul_logreg.h
+ ul_logreg.h ul_cbuff.h
lib_LIBRARIES = ulut
endif
ulut_SOURCES = ul_dbufbase.c ul_dbufmore.c ul_gsa.c ul_gsacust.c \
- ul_gavlprim.c ul_gavl.c ul_hptree.c \
- ul_htimer.c ul_htimbase.c ul_htimmstime.c \
- ul_evcbase.c ul_uniqid.c ul_dbufflog.c ul_logbase.c \
- ul_logreg.c
+ ul_gavlprim.c ul_gavl.c ul_hptree.c \
+ ul_htimer.c ul_htimbase.c ul_htimmstime.c \
+ ul_evcbase.c ul_uniqid.c ul_dbufflog.c ul_logbase.c \
+ ul_logreg.c ul_cbuff.c
lib_LOADLIBES = ulut
#include "ul_dbuff.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* ul_dbuff_log_hex - writes content of dbuff to log
* @buf: buffer structure
*/
void ul_dbuff_log_hex(ul_dbuff_t *buf, int log_level);
+#ifdef __cplusplus
+} /* extern "C"*/
+#endif
+
#endif /* UL_DBUFFLOG_H */
#include "ul_gavl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef unsigned long ul_uniqid_t;
int ul_uniqid_pool_alloc_one_after(ul_uniqid_pool_t *pool, ul_uniqid_t *ptrid, ul_uniqid_t afterid);
int ul_uniqid_pool_free_one(ul_uniqid_pool_t *pool, ul_uniqid_t id);
+#ifdef __cplusplus
+} /* extern "C"*/
+#endif
#endif /*_UL_UNIQID_H*/