00001 // +-------------------------------------------------------------------------+ 00002 // | I__n__t__e__L__i__b 0.6.10 development | 00003 // | Copyright (c) Andrey Vikt. Stolyarov <crocodil_AT_croco.net> 2000-2007. | 00004 // | | 00005 // | This is free software. The library part is available under | 00006 // | GNU LESSER GENERAL PUBLIC LICENSE v.2.1. | 00007 // | GNU LGPL v2.1 is found in docs/gnu_gpl2.txt, or at http://www.gnu.org | 00008 // | Please see also docs/readme.txt and visit http://www.intelib.org | 00009 // | | 00010 // | !!! THERE IS NO WARRANTY OF ANY KIND, NEITHER EXPRESSED NOR IMPLIED !!! | 00011 // +-------------------------------------------------------------------------+ 00012 00013 00014 00015 00022 #ifndef INTELIB_PRPRINT_HPP_SENTRY 00023 #define INTELIB_PRPRINT_HPP_SENTRY 00024 00025 00026 00027 typedef bool (*prettyprint_callback_function)(const char*, void *); 00028 00030 00043 bool pretty_print(SReference ref, 00044 prettyprint_callback_function fun, 00045 void *userdata, 00046 int indent = 0, int margin = 75, int indentstep = 4); 00047 00048 #endif