2016-02-22 09:16:37 +01:00
|
|
|
|
2016-03-03 20:46:20 +01:00
|
|
|
#include "cw/mod.h"
|
|
|
|
#include "cw/log.h"
|
2016-02-23 08:58:05 +01:00
|
|
|
|
2016-02-22 09:16:37 +01:00
|
|
|
#include "mod_cipwap.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int cipwap_init()
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-02-27 10:47:37 +01:00
|
|
|
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,int elems_len, struct sockaddr *from)
|
2016-02-23 08:58:05 +01:00
|
|
|
{
|
|
|
|
cw_log(LOG_INFO,"Detecting ...");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-02-22 09:16:37 +01:00
|
|
|
static struct mod_ac cipwap_ac = {
|
2016-02-23 08:58:05 +01:00
|
|
|
.name ="cipwap",
|
2016-02-22 18:33:47 +01:00
|
|
|
.init = cipwap_init,
|
2016-02-23 08:58:05 +01:00
|
|
|
.detect = detect
|
|
|
|
|
2016-02-22 09:16:37 +01:00
|
|
|
};
|
|
|
|
|
2016-02-23 08:58:05 +01:00
|
|
|
|
|
|
|
|
2016-02-22 09:16:37 +01:00
|
|
|
struct mod_ac * mod_cipwap_ac(){
|
|
|
|
return &cipwap_ac;
|
|
|
|
};
|
|
|
|
|