GENERIC_SERVER  0.0.0.9
A light-weight, cross-platform, pluggable, extensible and secure framework for deploying C++ plug-ins.
 All Classes Files Functions Variables Typedefs Pages
Classes | Macros | Typedefs
generic_plugin.h File Reference

This is the base class for all plugins. All plug-ins should derive from this class. This class has a bunch of virtual functions that all plug-in could/should implement. In addition to virtual functions, this class also provides a lot of utility functions for all plug-ins. More...

#include <iostream>
#include <string>
#include <openssl/ssl.h>
#include <openssl/err.h>

Go to the source code of this file.

Classes

class  generic_plugin
 This component provides functionality that are common across plug-ins. Framework would instantiate and load objects of type GENERIC_PLUGIN to framework system from plugin shared library. More...
 

Macros

#define SOCKET   int
 
#define sprintf_s   snprintf
 
#define _stat   stat
 
#define SOCKET_ERROR   -1
 
#define INVALID_SOCKET   -1
 
#define SD_SEND   2
 
#define CONTINUE_SESSION   0xFF
 
#define TERMINATE_SESSION   0x00
 
#define PLUGIN_SIGNATURE   0xDEDDAECF
 
#define HEX   0
 
#define BIN   1
 
#define GEN_PLUGIN_MUTEX   pthread_mutex_t
 
#define INIT_MUTEX   PTHREAD_MUTEX_INITIALIZER;
 

Typedefs

typedef generic_plugin GENERIC_PLUGIN
 

Detailed Description

This is the base class for all plugins. All plug-ins should derive from this class. This class has a bunch of virtual functions that all plug-in could/should implement. In addition to virtual functions, this class also provides a lot of utility functions for all plug-ins.

Author
Suraj Vijayan
Date
: 2013/07/01

Contact: suraj.nosp@m.@bro.nosp@m.adcom.nosp@m..com

Definition in file generic_plugin.h.