diff options
Diffstat (limited to 'qpid/extras/dispatch/include/qpid/dispatch/amqp.h')
-rw-r--r-- | qpid/extras/dispatch/include/qpid/dispatch/amqp.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/qpid/extras/dispatch/include/qpid/dispatch/amqp.h b/qpid/extras/dispatch/include/qpid/dispatch/amqp.h new file mode 100644 index 0000000000..9babeb930d --- /dev/null +++ b/qpid/extras/dispatch/include/qpid/dispatch/amqp.h @@ -0,0 +1,80 @@ +#ifndef __dispatch_amqp_h__ +#define __dispatch_amqp_h__ 1 +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * AMQP Performative Tags + */ +#define DX_PERFORMATIVE_HEADER 0x70 +#define DX_PERFORMATIVE_DELIVERY_ANNOTATIONS 0x71 +#define DX_PERFORMATIVE_MESSAGE_ANNOTATIONS 0x72 +#define DX_PERFORMATIVE_PROPERTIES 0x73 +#define DX_PERFORMATIVE_APPLICATION_PROPERTIES 0x74 +#define DX_PERFORMATIVE_BODY_DATA 0x75 +#define DX_PERFORMATIVE_BODY_AMQP_SEQUENCE 0x76 +#define DX_PERFORMATIVE_BODY_AMQP_VALUE 0x77 +#define DX_PERFORMATIVE_FOOTER 0x78 + + +/** + * AMQP Type Tags + */ +#define DX_AMQP_NULL 0x40 +#define DX_AMQP_BOOLEAN 0x56 +#define DX_AMQP_TRUE 0x41 +#define DX_AMQP_FALSE 0x42 +#define DX_AMQP_UBYTE 0x50 +#define DX_AMQP_USHORT 0x60 +#define DX_AMQP_UINT 0x70 +#define DX_AMQP_SMALLUINT 0x52 +#define DX_AMQP_UINT0 0x43 +#define DX_AMQP_ULONG 0x80 +#define DX_AMQP_SMALLULONG 0x53 +#define DX_AMQP_ULONG0 0x44 +#define DX_AMQP_BYTE 0x51 +#define DX_AMQP_SHORT 0x61 +#define DX_AMQP_INT 0x71 +#define DX_AMQP_SMALLINT 0x54 +#define DX_AMQP_LONG 0x81 +#define DX_AMQP_SMALLLONG 0x55 +#define DX_AMQP_FLOAT 0x72 +#define DX_AMQP_DOUBLE 0x82 +#define DX_AMQP_DECIMAL32 0x74 +#define DX_AMQP_DECIMAL64 0x84 +#define DX_AMQP_DECIMAL128 0x94 +#define DX_AMQP_UTF32 0x73 +#define DX_AMQP_TIMESTAMP 0x83 +#define DX_AMQP_UUID 0x98 +#define DX_AMQP_VBIN8 0xa0 +#define DX_AMQP_VBIN32 0xb0 +#define DX_AMQP_STR8_UTF8 0xa1 +#define DX_AMQP_STR32_UTF8 0xb1 +#define DX_AMQP_SYM8 0xa3 +#define DX_AMQP_SYM32 0xb3 +#define DX_AMQP_LIST0 0x45 +#define DX_AMQP_LIST8 0xc0 +#define DX_AMQP_LIST32 0xd0 +#define DX_AMQP_MAP8 0xc1 +#define DX_AMQP_MAP32 0xd1 +#define DX_AMQP_ARRAY8 0xe0 +#define DX_AMQP_ARRAY32 0xf0 + +#endif + |