summaryrefslogtreecommitdiff
path: root/src/include/storage/shm_mq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/shm_mq.h')
-rw-r--r--src/include/storage/shm_mq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/storage/shm_mq.h b/src/include/storage/shm_mq.h
index 1a2ba040cb..7621a358ab 100644
--- a/src/include/storage/shm_mq.h
+++ b/src/include/storage/shm_mq.h
@@ -65,6 +65,9 @@ extern void shm_mq_set_handle(shm_mq_handle *, BackgroundWorkerHandle *);
/* Break connection. */
extern void shm_mq_detach(shm_mq *);
+/* Get the shm_mq from handle. */
+extern shm_mq *shm_mq_get_queue(shm_mq_handle *mqh);
+
/* Send or receive messages. */
extern shm_mq_result shm_mq_send(shm_mq_handle *mqh,
Size nbytes, const void *data, bool nowait);