Clean-up: bytecode: hide file-local bytecode_reserve util
[lttng-tools.git] / src / common / bytecode / bytecode.h
index 151ca8a0fb00d0d0273d5304b415984b9f84759f..7e9b9f09edf168ed04bfdb2ebad067df9e609480 100644 (file)
@@ -235,8 +235,6 @@ struct lttng_bytecode_alloc {
 };
 
 LTTNG_HIDDEN int bytecode_init(struct lttng_bytecode_alloc **fb);
-LTTNG_HIDDEN int32_t bytecode_reserve(struct lttng_bytecode_alloc **fb,
-               uint32_t align, uint32_t len);
 LTTNG_HIDDEN int bytecode_push(struct lttng_bytecode_alloc **fb,
                const void *data, uint32_t align, uint32_t len);
 LTTNG_HIDDEN int bytecode_push_logical(struct lttng_bytecode_alloc **fb,
@@ -245,6 +243,19 @@ LTTNG_HIDDEN int bytecode_push_logical(struct lttng_bytecode_alloc **fb,
 LTTNG_HIDDEN struct lttng_bytecode *lttng_bytecode_copy(
                const struct lttng_bytecode *orig_f);
 
+LTTNG_HIDDEN int bytecode_push_get_payload_root(
+               struct lttng_bytecode_alloc **bytecode);
+LTTNG_HIDDEN int bytecode_push_get_context_root(
+               struct lttng_bytecode_alloc **bytecode);
+LTTNG_HIDDEN int bytecode_push_get_app_context_root(
+               struct lttng_bytecode_alloc **bytecode);
+LTTNG_HIDDEN int bytecode_push_get_index_u64(
+               struct lttng_bytecode_alloc **bytecode, uint64_t index);
+LTTNG_HIDDEN int bytecode_push_get_symbol(
+               struct lttng_bytecode_alloc **bytecode,
+               struct lttng_bytecode_alloc **bytecode_reloc,
+               const char *symbol);
+
 static inline
 unsigned int bytecode_get_len(struct lttng_bytecode *bytecode)
 {
This page took 0.023796 seconds and 4 git commands to generate.