-extern int lib_ring_buffer_open_read(struct lib_ring_buffer *buf,
- struct shm_handle *handle);
-extern void lib_ring_buffer_release_read(struct lib_ring_buffer *buf,
- struct shm_handle *handle);
+extern int lib_ring_buffer_open_read(struct lttng_ust_lib_ring_buffer *buf,
+ struct lttng_ust_shm_handle *handle,
+ int shadow);
+extern void lib_ring_buffer_release_read(struct lttng_ust_lib_ring_buffer *buf,
+ struct lttng_ust_shm_handle *handle,
+ int shadow);