--- libelwix/inc/elwix/apack.h 2022/09/26 19:39:23 1.11 +++ libelwix/inc/elwix/apack.h 2024/12/05 12:33:49 1.11.26.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: apack.h,v 1.11 2022/09/26 19:39:23 misho Exp $ +* $Id: apack.h,v 1.11.26.1 2024/12/05 12:33:49 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