Working on mods.

FossilOrigin-Name: 7652cbc79f78c5605c07225eb1b5500286f3246b61cb1b96734d0f208570ae67
This commit is contained in:
7u83@mail.ru
2016-02-23 07:58:05 +00:00
parent b2710dc698
commit 82047233c0
5 changed files with 33 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#include "capwap/mod.h"
#include "capwap/log.h"
#include "mod_cipwap.h"
@ -10,11 +12,23 @@ int cipwap_init()
}
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,struct sockaddr *from)
{
cw_log(LOG_INFO,"Detecting ...");
return 0;
}
static struct mod_ac cipwap_ac = {
.name ="cipwap",
.init = cipwap_init,
.name ="cipwap"
.detect = detect
};
struct mod_ac * mod_cipwap_ac(){
return &cipwap_ac;
};