Started working on the plugin configuration and loader code.

The example plugin works, but does not do anything.
This commit is contained in:
Jan Vidar Krey
2010-06-12 02:54:53 +02:00
parent 7218011449
commit ccaa4860b4
7 changed files with 146 additions and 8 deletions

View File

@@ -22,11 +22,19 @@
#define PLUGIN_API_VERSION 0
#ifndef MAX_NICK_LEN
#define MAX_NICK_LEN 64
#endif
#ifndef MAX_PASS_LEN
#define MAX_PASS_LEN 64
#endif
struct ip_addr_encap;
struct plugin_user
{
sid_t sid;
unsigned int sid;
const char* nick;
const char* cid;
struct ip_addr_encap addr;