head 1.9; access; symbols act_first:1.1.1.1 act:1.1.1; locks; strict; comment @# @; 1.9 date 2003.01.06.12.10.58; author rse; state Exp; branches; next 1.8; 1.8 date 2002.01.19.13.13.32; author rse; state Exp; branches; next 1.7; 1.7 date 2002.01.18.18.13.14; author rse; state Exp; branches; next 1.6; 1.6 date 2002.01.18.17.30.05; author rse; state Exp; branches; next 1.5; 1.5 date 2002.01.02.17.05.53; author rse; state Exp; branches; next 1.4; 1.4 date 2001.03.21.15.59.02; author rse; state Exp; branches; next 1.3; 1.3 date 2000.08.18.15.58.09; author rse; state Exp; branches; next 1.2; 1.2 date 2000.08.18.15.35.57; author rse; state Exp; branches; next 1.1; 1.1 date 99.11.12.20.37.19; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.11.12.20.37.19; author rse; state Exp; branches; next ; desc @@ 1.9 log @cleanup source tree @ text @/* ** OSSP act - Abstract Container Types ** Copyright (c) 1999-2003 Ralf S. Engelschall ** Copyright (c) 1999-2003 The OSSP Project ** ** This file is part of OSSP act, an abstract container type library ** which can be found at http://www.ossp.org/pkg/lib/act/. ** ** Permission to use, copy, modify, and distribute this software for ** any purpose with or without fee is hereby granted, provided that ** the above copyright notice and this permission notice appear in all ** copies. ** ** THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ** WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ** MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ** IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ** USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ** ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ** OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. ** ** act_p.h: private global header */ #ifndef _ACT_P_H_ #define _ACT_P_H_ #include #include #include #include #include /* library version */ #define _ACT_VERS_C_AS_HEADER_ #include "act_vers.c" #undef _ACT_VERS_C_AS_HEADER_ /* temporarily preserve and restore errno */ #define errno_preserve \ do { pth_errno_storage = errno; } while (0) #define errno_restore \ do { errno = pth_errno_storage; } while (0) #define errno_safe(cmd) \ do { int __local_errno = errno; cmd; errno = __local_errno; } while (0) #define return_errno(return_val,errno_val) \ do { errno = (errno_val); return (return_val); } while (0) #include "act_cfg.h" #include "act_lib.h" #include "act_ctx.h" #include "act_mem.h" #include "act_chain.h" #include "act_grid.h" #include "act_hash.h" #define insist(expr,false) if (!(expr)) return false #define act_insist(expr,false) if (!(expr)) return false #define act_argcheck(expr) if (!(expr)) return ACT_ERR_ARG /* compiler happyness: avoid ``empty compilation unit'' problem */ #define COMPILER_HAPPYNESS(name) \ int __##name##_unit = 0; /* generated contents */ BEGIN_DECLARATION ==#== END_DECLARATION #endif /* _ACT_P_H_ */ @ 1.8 log @activate act_chain.h @ text @d1 4 a4 3 /* ** Act - Abstract Container Type Library ** Copyright (c) 1999-2002 Ralf S. Engelschall d6 2 a7 2 ** This file is part of Act, a library for dealing with Abstract ** Container Types which can be found at http://www.ossp.org/pkg/act/. d52 1 a52 1 do { errno = (errno_val); return (return_val); } while (0) @ 1.7 log @activate grid @ text @d57 1 @ 1.6 log @provide a few macros and return codes @ text @d57 1 @ 1.5 log @bump copyright year @ text @d61 3 @ 1.4 log @*** empty log message *** @ text @d3 1 a3 1 ** Copyright (c) 1999-2001 Ralf S. Engelschall @ 1.3 log @*** empty log message *** @ text @d3 1 a3 1 ** Copyright (c) 1999-2000 Ralf S. Engelschall @ 1.2 log @*** empty log message *** @ text @d1 28 @ 1.1 log @Initial revision @ text @d10 5 @ 1.1.1.1 log @ @ text @@