summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-10-05 09:36:25 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-10-05 09:36:25 +0100
commitef9272f109db7fe83af5619c0a4219ae655b3a15 (patch)
treedbd721029767d9cf3487796f634f9632052c4c89 /include
parent4922c67a549b57d89e0ced8d735591e6fd64c8c0 (diff)
downloadrabbitmq-server-ef9272f109db7fe83af5619c0a4219ae655b3a15.tar.gz
cosmetics and minor refactoring
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl3
-rw-r--r--include/rabbit_backing_queue_spec.hrl6
2 files changed, 5 insertions, 4 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 700523d7..5770cb95 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -69,7 +69,8 @@
is_persistent}).
-record(ssl_socket, {tcp, ssl}).
--record(delivery, {mandatory, immediate, txn, sender, message, origin, msg_seq_no}).
+-record(delivery, {mandatory, immediate, txn, sender, message,
+ origin, msg_seq_no}).
-record(amqp_error, {name, explanation, method = none}).
-record(event, {type, props, timestamp}).
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 9d532656..cc086d3c 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -46,9 +46,9 @@
-spec(purge/1 :: (state()) -> {purged_msg_count(), state()}).
-spec(publish/3 ::
(rabbit_types:basic_message(), confirm_required(), state()) -> state()).
--spec(publish_delivered/4 ::
- (ack_required(), rabbit_types:basic_message(), confirm_required(), state())
- -> {ack(), state()}).
+-spec(publish_delivered/4 :: (ack_required(), rabbit_types:basic_message(),
+ confirm_required(), state()) ->
+ {ack(), state()}).
-spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}).
-spec(ack/2 :: ([ack()], state()) -> {state(), [rabbit_guid:guid()]}).
-spec(tx_publish/3 :: (rabbit_types:txn(), rabbit_types:basic_message(), state()) -> state()).