rabbitmq-c
0.5.3
C AMQP Client library for RabbitMQ
|
00001 /* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */ 00003 /* 00004 * amqp_webSocket.h 00005 * 00006 * Created on: Apr 28, 2014 00007 * Author: pkhanal 00008 */ 00009 00010 #ifndef AMQP_WEBSOCKET_H 00011 #define AMQP_WEBSOCKET_H 00012 00013 #include <amqp.h> 00014 #include <kaazing_websocket.h> 00015 00016 AMQP_BEGIN_DECLS 00017 00029 AMQP_PUBLIC_FUNCTION 00030 amqp_socket_t * 00031 AMQP_CALL 00032 amqp_websocket_new(amqp_connection_state_t state); 00033 00042 AMQP_PUBLIC_FUNCTION 00043 websocket_t * 00044 AMQP_CALL 00045 amqp_websocket_get(amqp_socket_t *self); 00046 00061 AMQP_PUBLIC_FUNCTION 00062 int 00063 AMQP_CALL 00064 amqp_websocket_open(amqp_socket_t *self, const char *url); 00065 00066 AMQP_END_DECLS 00067 00068 00069 #endif /* AMQP_WEBSOCKET_H */