X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fbackend.h;fp=libringbuffer%2Fbackend.h;h=6eb0cf0b4e8feb4ab3f69f2f51f6e0be874b22f8;hb=38fae1d354502ffb37f471fbd0fef03412606cc0;hp=83e07e426b3de3458a995bcfa953e0e33ee9d1fb;hpb=92462b01cae094cbb15052c3a4775071319121fb;p=ust.git diff --git a/libringbuffer/backend.h b/libringbuffer/backend.h index 83e07e4..6eb0cf0 100644 --- a/libringbuffer/backend.h +++ b/libringbuffer/backend.h @@ -28,11 +28,11 @@ extern size_t lib_ring_buffer_read(struct lib_ring_buffer_backend *bufb, size_t offset, void *dest, size_t len, - struct shm_handle *handle); + struct lttng_ust_shm_handle *handle); extern int lib_ring_buffer_read_cstr(struct lib_ring_buffer_backend *bufb, size_t offset, void *dest, size_t len, - struct shm_handle *handle); + struct lttng_ust_shm_handle *handle); /* * Return the address where a given offset is located. @@ -43,11 +43,11 @@ extern int lib_ring_buffer_read_cstr(struct lib_ring_buffer_backend *bufb, extern void * lib_ring_buffer_offset_address(struct lib_ring_buffer_backend *bufb, size_t offset, - struct shm_handle *handle); + struct lttng_ust_shm_handle *handle); extern void * lib_ring_buffer_read_offset_address(struct lib_ring_buffer_backend *bufb, size_t offset, - struct shm_handle *handle); + struct lttng_ust_shm_handle *handle); /** * lib_ring_buffer_write - write data to a buffer backend @@ -68,7 +68,7 @@ void lib_ring_buffer_write(const struct lib_ring_buffer_config *config, { struct lib_ring_buffer_backend *bufb = &ctx->buf->backend; struct channel_backend *chanb = &ctx->chan->backend; - struct shm_handle *handle = ctx->handle; + struct lttng_ust_shm_handle *handle = ctx->handle; size_t sbidx; size_t offset = ctx->buf_offset; struct lib_ring_buffer_backend_pages_shmp *rpages; @@ -102,7 +102,7 @@ static inline unsigned long lib_ring_buffer_get_records_unread( const struct lib_ring_buffer_config *config, struct lib_ring_buffer *buf, - struct shm_handle *handle) + struct lttng_ust_shm_handle *handle) { struct lib_ring_buffer_backend *bufb = &buf->backend; struct lib_ring_buffer_backend_pages_shmp *pages;