00001 /* Part of the culibs project, <http://www.eideticdew.org/culibs/>. 00002 * Copyright (C) 2007 Petter Urkedal <urkedal@nbi.dk> 00003 * 00004 * This program is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 3 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 #ifndef CUFO_FWD_H 00019 #define CUFO_FWD_H 00020 00021 #include <cu/fwd.h> 00022 00023 CU_BEGIN_DECLARATIONS 00024 /*!\defgroup cufo_fwd_h cufo/fwd.h: Forward Declarations 00025 *@{\ingroup cufo_mod */ 00026 00027 typedef struct cufo_prispec *cufo_prispec_t; 00028 typedef struct cufo_stream *cufo_stream_t; 00029 00030 typedef struct cufo_tag *cufo_tag_t; 00031 typedef struct cufo_namespace *cufo_namespace_t; 00032 typedef struct cufo_attr *cufo_attr_t; 00033 typedef struct cufo_attrbind *cufo_attrbind_t; 00034 00035 typedef struct cufo_termface *cufo_termface_t; 00036 typedef struct cufo_termstyle *cufo_termstyle_t; 00037 typedef struct cufo_textsink *cufo_textsink_t; 00038 00039 typedef struct cufo_textstyle *cufo_textstyle_t; 00040 typedef struct cufo_textstyler *cufo_textstyler_t; 00041 00042 /** Initialises \c libcufo, as is mandatory before before using the library. 00043 ** You may also want to call this function even if you don't use \c libcufo 00044 ** functions directly, because it installs a more powerful formatting engine 00045 ** for the \ref cu_logging_h "cu/logging.h" and \ref cu_diag_h "cu/diag.h" 00046 ** functions, including new format specifiers, line wrapping, and, if compiled 00047 ** with terminal support, some highlighting. */ 00048 void cufo_init(void); 00049 00050 /*!@}*/ 00051 CU_END_DECLARATIONS 00052 00053 #ifndef CU_NCOMPAT 00054 # include <cufo/compat.h> 00055 #endif 00056 #endif