actube/src/mod/cipwap/mod_cipwap_ac.c
7u83@mail.ru be07b0aa0a Improved mod detection, also for bindings. detections are cached.
FossilOrigin-Name: bb2a4cd9c18aded4fa028aa8d385c811d7550a37ddaf3da17f90399315abf637
2016-03-08 00:20:22 +00:00

37 lines
433 B
C

#include "cw/mod.h"
#include "cw/log.h"
#include "mod_cipwap.h"
int cipwap_init()
{
return 0;
}
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,int elems_len, struct sockaddr *from, int mode)
{
cw_log(LOG_INFO,"Detecting ...");
return 0;
}
static struct mod_ac cipwap_ac = {
.name ="cipwap",
.init = cipwap_init,
.detect = detect
};
struct mod_ac * mod_cipwap_ac(){
return &cipwap_ac;
};