--- libelwix/inc/elwix/apack.h 2022/04/18 20:18:48 1.10.68.1 +++ libelwix/inc/elwix/apack.h 2025/08/21 15:43:00 1.12 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: apack.h,v 1.10.68.1 2022/04/18 20:18:48 misho Exp $ +* $Id: apack.h,v 1.12 2025/08/21 15:43:00 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2022 +Copyright 2004 - 2024 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -151,6 +151,10 @@ typedef struct tagRawPacket { )) +#ifdef __cplusplus +extern "C" { +#endif + /* * rpack_align_and_reserve() - Align & reserve space * @@ -317,5 +321,8 @@ void *rpack_data(rpack_t * __restrict rp, void * __res */ void *rpack_rdata(rpack_t * __restrict rp, void * __restrict dat, size_t datlen); +#ifdef __cplusplus +} +#endif #endif