From 1ebc196ec0f6128e9f73f3aebb9a30d5436ef5c0 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 27 May 2008 17:46:27 +0000 Subject: Use symbolic constants for message flow values. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660625 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SessionBase_0_10.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/client/SessionBase_0_10.h b/cpp/src/qpid/client/SessionBase_0_10.h index f9ced049a9..e5d2b19327 100644 --- a/cpp/src/qpid/client/SessionBase_0_10.h +++ b/cpp/src/qpid/client/SessionBase_0_10.h @@ -48,7 +48,7 @@ using framing::SequenceNumberSet; using qpid::SessionId; using framing::Xid; -enum CreditUnit { MESSAGE=0, BYTE=1 }; +enum CreditUnit { MESSAGE_CREDIT=0, BYTE_CREDIT=1, UNLIMITED_CREDIT=0xFFFFFFFF }; /** * Base class for handles to an AMQP session. -- cgit v1.2.1