Moved some functions from lwapp.h to lw.h, capwap.h to cw.h ...

FossilOrigin-Name: 8b6f76655e93cdb212b833ec890772b57e53723cf30b4fa9635130701890b0f2
This commit is contained in:
7u83@mail.ru
2016-03-04 20:01:38 +00:00
parent f29d758df4
commit 673f59a651
14 changed files with 129 additions and 24 deletions

View File

@ -27,7 +27,7 @@
#include "sock.h"
static int cw_read_wtp_descriptor_versions(mbag_t mbag, uint8_t * data,
static int _cw_read_wtp_descriptor_versions(mbag_t mbag, uint8_t * data,
int len, int silent)
{
int i = 0;
@ -164,7 +164,7 @@ static int cw_read_wtp_descriptor(mbag_t mbag, struct conn *conn,
pos += 3;
}
return cw_read_wtp_descriptor_versions(mbag, data + pos, len - pos, silent);
return _cw_read_wtp_descriptor_versions(mbag, data + pos, len - pos, silent);
}
@ -190,7 +190,7 @@ static int cw_read_cisco_wtp_descriptor(mbag_t mbag, struct conn *conn,
cw_get_word(data + pos + 2);
pos += 2;
return cw_read_wtp_descriptor_versions(mbag, data + pos, len - pos, silent);
return _cw_read_wtp_descriptor_versions(mbag, data + pos, len - pos, silent);
}