projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various fixes for prototype branch
[deliverable/lttng-tools.git]
/
include
/
lttng
/
notification
/
notification-internal.h
diff --git
a/include/lttng/notification/notification-internal.h
b/include/lttng/notification/notification-internal.h
index d37db1ee5cd57c49815e8cffa630b75f3e1bbaff..fc213ac048d9f8e6168e0950d9a0e77a8a00762f 100644
(file)
--- a/
include/lttng/notification/notification-internal.h
+++ b/
include/lttng/notification/notification-internal.h
@@
-20,15
+20,31
@@
#include <lttng/notification/notification.h>
#include <common/macros.h>
#include <lttng/notification/notification.h>
#include <common/macros.h>
+#include <stdint.h>
struct lttng_notification {
struct lttng_condition *condition;
struct lttng_evaluation *evaluation;
};
struct lttng_notification {
struct lttng_condition *condition;
struct lttng_evaluation *evaluation;
};
+struct lttng_notification_comm {
+ /* length excludes its own length. */
+ uint32_t length;
+ /* A condition and evaluation object follow. */
+ char payload[];
+} LTTNG_PACKED;
+
LTTNG_HIDDEN
struct lttng_notification *lttng_notification_create(
struct lttng_condition *condition,
struct lttng_evaluation *evaluation);
LTTNG_HIDDEN
struct lttng_notification *lttng_notification_create(
struct lttng_condition *condition,
struct lttng_evaluation *evaluation);
+LTTNG_HIDDEN
+ssize_t lttng_notification_serialize(struct lttng_notification *notification,
+ char *buf);
+
+LTTNG_HIDDEN
+ssize_t lttng_notification_create_from_buffer(const char *buf,
+ struct lttng_notification **notification);
+
#endif /* LTTNG_NOTIFICATION_INTERNAL_H */
#endif /* LTTNG_NOTIFICATION_INTERNAL_H */
This page took
0.025756 seconds
and
5
git commands to generate.