Initial commit
FossilOrigin-Name: c53d95729c009f8f80a7d63847cef7668ff73f8af0523ab65f7734696f85399c
This commit is contained in:
10
src/capwap/cwmsg_addelem_result_code.c
Normal file
10
src/capwap/cwmsg_addelem_result_code.c
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#include "capwap.h"
|
||||
|
||||
void cwmsg_addelem_result_code(struct cwmsg *msg,int rc)
|
||||
{
|
||||
uint8_t c[4];
|
||||
*((uint32_t*)c)= htonl(rc);
|
||||
cwmsg_addelem(msg,CWMSGELEM_RESULT_CODE,c,4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user