Initial commit
FossilOrigin-Name: 1b0b90ca3d344f4326678e2504e20b03cfb155c63bc4edf6f55c52a601cb3ffe
This commit is contained in:
15
src/capwap/cwmsg_addelem_image_identifier.c
Normal file
15
src/capwap/cwmsg_addelem_image_identifier.c
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
#include "capwap.h"
|
||||
#include "cwmsg.h"
|
||||
|
||||
#include <string.h> //tube
|
||||
|
||||
void cwmsg_addelem_image_identifier(struct cwmsg *cwmsg,uint32_t vendor_id,uint8_t *img, int len)
|
||||
{
|
||||
// uint32_t net_vendor_id = htonl(vendor_id);
|
||||
// cwmsg_vaddelem(cwmsg,CWMSGELEM_IMAGE_IDENTIFIER,2,&net_vendor_id,sizeof(net_vendor_id),img,len);
|
||||
|
||||
uint8_t name[]="/tobias_heere\0";
|
||||
cwmsg_addelem(cwmsg,CWMSGELEM_IMAGE_IDENTIFIER,name,strlen((char*)name)+1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user