11 lines
182 B
C
11 lines
182 B
C
|
|
#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);
|
|
}
|
|
|