--- libelwix/inc/elwix/apatricia.h 2013/05/26 20:03:18 1.1.1.1.6.1 +++ libelwix/inc/elwix/apatricia.h 2024/12/05 12:33:49 1.5.20.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: apatricia.h,v 1.1.1.1.6.1 2013/05/26 20:03:18 misho Exp $ +* $Id: apatricia.h,v 1.5.20.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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2024 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -102,6 +102,9 @@ typedef struct _patricia_tree_t { int num_active_node; /* for debug purpose */ } patricia_tree_t; +#ifdef __cplusplus +extern "C" { +#endif patricia_tree_t *New_Patricia(int maxbits); void Destroy_Patricia(patricia_tree_t *patricia, void_fn_t func); @@ -184,5 +187,9 @@ do { \ } \ } \ } while (0) + +#ifdef __cplusplus +} +#endif #endif /* __APATRICIA_H */