AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions
amqp_send.c File Reference
#include <stdio.h>
#include <amqp.h>
#include <unistd.h>
#include "amqp_send.h"
#include "logger.h"
Include dependency graph for amqp_send.c:

Go to the source code of this file.

Macros

#define LOG_TAG   "amqp_send"
 
#define RETRY
 

Functions

int amqp_send (char const *hostname, int port, char const *exchange, char const *bindingkey, int size, unsigned char *messagebody)
 Send a payload to an AMQP exchange. More...
 

Macro Definition Documentation

#define LOG_TAG   "amqp_send"

Definition at line 7 of file amqp_send.c.

#define RETRY
Value:
do \
{ \
sleep(backoff); \
backoff *= 2; \
current_try++; \
} while (0)

Function Documentation

int amqp_send ( char const *  hostname,
int  port,
char const *  exchange,
char const *  bindingkey,
int  size,
unsigned char *  messagebody 
)

Send a payload to an AMQP exchange.

Definition at line 71 of file amqp_send.c.

Here is the caller graph for this function: