Fork me on GitHub
Macros | Functions
janus_rabbitmqevh.c File Reference

Janus RabbitMQEventHandler plugin. More...

#include "eventhandler.h"
#include <math.h>
#include <amqp.h>
#include <amqp_framing.h>
#include <amqp_tcp_socket.h>
#include <amqp_ssl_socket.h>
#include "../debug.h"
#include "../config.h"
#include "../mutex.h"
#include "../utils.h"
#include "../events.h"
Include dependency graph for janus_rabbitmqevh.c:

Macros

#define JANUS_RABBITMQEVH_VERSION   1
 
#define JANUS_RABBITMQEVH_VERSION_STRING   "0.0.1"
 
#define JANUS_RABBITMQEVH_DESCRIPTION   "This is a trivial RabbitMQ event handler plugin for Janus."
 
#define JANUS_RABBITMQEVH_NAME   "JANUS RabbitMQEventHandler plugin"
 
#define JANUS_RABBITMQEVH_AUTHOR   "Meetecho s.r.l."
 
#define JANUS_RABBITMQEVH_PACKAGE   "janus.eventhandler.rabbitmqevh"
 
#define JANUS_RABBITMQEVH_EXCHANGE_TYPE   "fanout"
 
#define JANUS_RABBITMQEVH_ERROR_INVALID_REQUEST   411
 
#define JANUS_RABBITMQEVH_ERROR_MISSING_ELEMENT   412
 
#define JANUS_RABBITMQEVH_ERROR_INVALID_ELEMENT   413
 
#define JANUS_RABBITMQEVH_ERROR_UNKNOWN_ERROR   499
 

Functions

janus_eventhandlercreate (void)
 
int janus_rabbitmqevh_init (const char *config_path)
 
void janus_rabbitmqevh_destroy (void)
 
int janus_rabbitmqevh_get_api_compatibility (void)
 
int janus_rabbitmqevh_get_version (void)
 
const char * janus_rabbitmqevh_get_version_string (void)
 
const char * janus_rabbitmqevh_get_description (void)
 
const char * janus_rabbitmqevh_get_name (void)
 
const char * janus_rabbitmqevh_get_author (void)
 
const char * janus_rabbitmqevh_get_package (void)
 
void janus_rabbitmqevh_incoming_event (json_t *event)
 
json_tjanus_rabbitmqevh_handle_request (json_t *request)
 

Detailed Description

Janus RabbitMQEventHandler plugin.

Author
Piter Konstantinov pit.h.nosp@m.ere@.nosp@m.gmail.nosp@m..com

This is a trivial RabbitMQ event handler plugin for Janus

Event handlers documentation

Macro Definition Documentation

#define JANUS_RABBITMQEVH_AUTHOR   "Meetecho s.r.l."
#define JANUS_RABBITMQEVH_DESCRIPTION   "This is a trivial RabbitMQ event handler plugin for Janus."
#define JANUS_RABBITMQEVH_ERROR_INVALID_ELEMENT   413
#define JANUS_RABBITMQEVH_ERROR_INVALID_REQUEST   411
#define JANUS_RABBITMQEVH_ERROR_MISSING_ELEMENT   412
#define JANUS_RABBITMQEVH_ERROR_UNKNOWN_ERROR   499
#define JANUS_RABBITMQEVH_EXCHANGE_TYPE   "fanout"
#define JANUS_RABBITMQEVH_NAME   "JANUS RabbitMQEventHandler plugin"
#define JANUS_RABBITMQEVH_PACKAGE   "janus.eventhandler.rabbitmqevh"
#define JANUS_RABBITMQEVH_VERSION   1
#define JANUS_RABBITMQEVH_VERSION_STRING   "0.0.1"

Function Documentation

janus_eventhandler* create ( void  )
void janus_rabbitmqevh_destroy ( void  )
int janus_rabbitmqevh_get_api_compatibility ( void  )
const char * janus_rabbitmqevh_get_author ( void  )
const char * janus_rabbitmqevh_get_description ( void  )
const char * janus_rabbitmqevh_get_name ( void  )
const char * janus_rabbitmqevh_get_package ( void  )
int janus_rabbitmqevh_get_version ( void  )
const char * janus_rabbitmqevh_get_version_string ( void  )
json_t * janus_rabbitmqevh_handle_request ( json_t request)
void janus_rabbitmqevh_incoming_event ( json_t event)
int janus_rabbitmqevh_init ( const char *  config_path)