summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-07-31 20:40:57 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-07-31 20:40:57 +0100
commite43f0bddc96ea676ded522b235056f9e3c41fe21 (patch)
tree67071f159b7fd2d01805d6ce1bbe199d46172b7d /include
parente6e9cee87b8ffe73dfdfb3b472d48ff04dd5bfb5 (diff)
downloadrabbitmq-server-git-e43f0bddc96ea676ded522b235056f9e3c41fe21.tar.gz
Turn q3 into random access data structure
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue.hrl27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/rabbit_backing_queue.hrl b/include/rabbit_backing_queue.hrl
new file mode 100644
index 0000000000..5947356d16
--- /dev/null
+++ b/include/rabbit_backing_queue.hrl
@@ -0,0 +1,27 @@
+%% The contents of this file are subject to the Mozilla Public License
+%% Version 1.1 (the "License"); you may not use this file except in
+%% compliance with the License. You may obtain a copy of the License
+%% at http://www.mozilla.org/MPL/
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and
+%% limitations under the License.
+%%
+%% The Original Code is RabbitMQ.
+%%
+%% The Initial Developer of the Original Code is VMware, Inc.
+%% Copyright (c) 2007-2011 VMware, Inc. All rights reserved.
+%%
+
+-record(msg_status,
+ { seq_id,
+ msg_id,
+ msg,
+ is_persistent,
+ is_delivered,
+ msg_on_disk,
+ index_on_disk,
+ msg_props
+ }).
+