src/pomp_prot.c
static void copy_header_magic(struct pomp_prot *prot,
		const void *basesrc, size_t *offsrc, size_t lensrc)
{
	copy(prot->headerbuf, &prot->offheader, POMP_PROT_HEADER_SIZE,
			basesrc, offsrc, *offsrc + 1);
}
/**
 * Copy magic byte in header. Only one byte will be written.
 * @param prot : protocol decoder.
 * @param basesrc : base address of source.
 * @param offsrc : offset of source, updated after the copy.
 * @param lensrc : total size of source.
 */
Copy magic byte in header. Only one byte will be written.
@param prot : protocol decoder.
@param basesrc : base address of source.
@param offsrc : offset of source, updated after the copy.
@param lensrc : total size of source.
Copy magic byte in header . Only one byte will be written . @param prot : protocol decoder . @param basesrc : base address of source . @param offsrc : offset of source updated after the copy . @param lensrc : total size of source .
static void copy_header_magic(struct pomp_prot *prot,
		const void *basesrc, size_t *offsrc, size_t lensrc)
{
	copy(prot->headerbuf, &prot->offheader, POMP_PROT_HEADER_SIZE,
			basesrc, offsrc, *offsrc + 1);
}
static void copy_header_magic ( struct pomp_prot * prot , const void * basesrc , size_t * offsrc , size_t lensrc ) { copy ( prot -> headerbuf , & prot -> offheader , POMP_PROT_HEADER_SIZE , basesrc , offsrc , * offsrc + 1 ) ; }
Copy magic byte in header.
Copy magic byte in header .