AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
amqp_send.h
Go to the documentation of this file.
1 
4 #ifndef __AMQP_SEND_H_
5 #define __AMQP_SEND_H_
6 
7 #include <stdlib.h>
8 #include <stdio.h>
9 #include <string.h>
10 
11 #include <stdint.h>
12 #include <amqp_tcp_socket.h>
13 #include <amqp.h>
14 #include <amqp_framing.h>
15 
16 #include "config_env.h"
17 
18 #include <assert.h>
19 
20 #include "socket.h"
21 
25 int amqp_send(char const* hostname, int port, char const* exchange, char const* bindingkey,
26  int size, unsigned char* messagebody);
27 
28 #endif
Utilities to get config values from the environment.
Define socket utilities to simplify networking.
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: amqp_send.c:71