src/pomp_prot.c
static void pomp_prot_reset_state(struct pomp_prot *prot)
{
	prot->state = POMP_PROT_STATE_IDLE;
	memset(&prot->headerbuf, 0, sizeof(prot->headerbuf));
	memset(&prot->header, 0, sizeof(prot->header));
	prot->offheader = 0;
	prot->offpayload = 0;
}
/**
 * Reset the internal state of the protocol decoder.
 * @param prot : protocol decoder.
 */
Reset the internal state of the protocol decoder.
@param prot : protocol decoder.
Reset the internal state of the protocol decoder . @param prot : protocol decoder .
static void pomp_prot_reset_state(struct pomp_prot *prot)
{
	prot->state = POMP_PROT_STATE_IDLE;
	memset(&prot->headerbuf, 0, sizeof(prot->headerbuf));
	memset(&prot->header, 0, sizeof(prot->header));
	prot->offheader = 0;
	prot->offpayload = 0;
}
static void pomp_prot_reset_state ( struct pomp_prot * prot ) { prot -> state = POMP_PROT_STATE_IDLE ; memset ( & prot -> headerbuf , 0 , sizeof ( prot -> headerbuf ) ) ; memset ( & prot -> header , 0 , sizeof ( prot -> header ) ) ; prot -> offheader = 0 ; prot -> offpayload = 0 ; }
Reset the internal state of the protocol decoder.
Reset the internal state of the protocol decoder .