AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
amqp_listen.h
Go to the documentation of this file.
1 
5 #ifndef __AMQP_LISTEN_H_
6 #define __AMQP_LISTEN_H_
7 
8 #include <amqp.h>
9 
21 int amqp_listen_retry(const char* hostname, int port, const char* bindingkey,
22  amqp_connection_state_t* conn, const unsigned int tries);
23 
30 int amqp_consume(amqp_connection_state_t* conn, amqp_envelope_t* envelope);
31 
32 #endif
int amqp_listen_retry(const char *hostname, int port, const char *bindingkey, amqp_connection_state_t *conn, const unsigned int tries)
Setup a consumer for a specific queue.
Definition: amqp_listen.c:17
int amqp_consume(amqp_connection_state_t *conn, amqp_envelope_t *envelope)
Consume one message from a connection object.
Definition: amqp_listen.c:90