--- libaitcfg/inc/aitpwd.h 2022/09/26 19:46:59 1.7 +++ libaitcfg/inc/aitpwd.h 2025/01/31 00:03:15 1.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitpwd.h,v 1.7 2022/09/26 19:46:59 misho Exp $ +* $Id: aitpwd.h,v 1.8 2025/01/31 00:03:15 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 @@ -118,6 +118,9 @@ typedef enum { ALL = -1, Shell } passwd_attr_t; +#ifdef __cplusplus +extern "C" { +#endif /* * cfgInitPasswd() - Init password root @@ -245,5 +248,8 @@ int cfg_setPasswd(pwd_root_t * __restrict pwd, passwd_ */ const struct tagUser *cfg_getPasswd(pwd_root_t * __restrict pwd, int criteria, ...); +#ifdef __cplusplus +} +#endif #endif