rabbitmq-c
0.8.0
C AMQP Client library for RabbitMQ
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
librabbitmq
amqp_table.h
1
/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
2
/*
3
* ***** BEGIN LICENSE BLOCK *****
4
* Version: MIT
5
*
6
* Portions created by Alan Antonuk are Copyright (c) 2014 Alan Antonuk.
7
* All Rights Reserved.
8
*
9
* Permission is hereby granted, free of charge, to any person
10
* obtaining a copy of this software and associated documentation
11
* files (the "Software"), to deal in the Software without
12
* restriction, including without limitation the rights to use, copy,
13
* modify, merge, publish, distribute, sublicense, and/or sell copies
14
* of the Software, and to permit persons to whom the Software is
15
* furnished to do so, subject to the following conditions:
16
*
17
* The above copyright notice and this permission notice shall be
18
* included in all copies or substantial portions of the Software.
19
*
20
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
24
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
* SOFTWARE.
28
* ***** END LICENSE BLOCK *****
29
*/
30
#ifndef AMQP_TABLE_H
31
#define AMQP_TABLE_H
32
33
#include "
amqp.h
"
34
#include "amqp_private.h"
35
45
amqp_table_entry_t
amqp_table_construct_utf8_entry(
const
char
*key,
46
const
char
*value);
47
57
amqp_table_entry_t
amqp_table_construct_table_entry(
const
char
*key,
58
const
amqp_table_t
*value);
59
68
amqp_table_entry_t
amqp_table_construct_bool_entry(
const
char
*key,
69
const
int
value);
70
79
amqp_table_entry_t
*amqp_table_get_entry_by_key(
const
amqp_table_t
*table,
80
const
amqp_bytes_t
key);
81
82
#endif
/* AMQP_TABLE_H */
amqp_table_t
AMQP field table.
Definition:
amqp.h:423
amqp_table_entry_t
An entry in a field-table.
Definition:
amqp.h:512
amqp.h
amqp_bytes_t
Buffer descriptor.
Definition:
amqp.h:396
Generated on Sat Apr 9 2016 21:59:28 for rabbitmq-c by
1.8.6