/[ascend]/trunk/base/generic/utilities/ascPrintType.h
ViewVC logotype

Annotation of /trunk/base/generic/utilities/ascPrintType.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (hide annotations) (download) (as text)
Mon Oct 31 03:39:15 2005 UTC (20 years, 2 months ago) by jds
File MIME type: text/x-chdr
File size: 2102 byte(s)
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).
1 jds 54 /**<
2 ben.allan 52 * ASCEND Printf stdout/stderr Substitutes Dispatcher data type.
3     * by Benjamin Allan
4     * Created: 4.March.2005
5     * Version: $Revision: 1.6 $
6     * Version control file: $RCSfile: ascPrint.h,v $
7     * Date last modified: $Date: 1997/10/29 13:08:50 $
8     * Last modified by: $Author: mthomas $
9     *
10     * This file is part of the ASCEND utilities.
11     *
12     * Copyright 2005, Benjamin Andrew Allan
13     *
14     * The ASCEND utilities is free software; you can redistribute
15     * it and/or modify it under the terms of the GNU General Public License as
16     * published by the Free Software Foundation; either version 2 of the
17     * License, or (at your option) any later version.
18     *
19     * The ASCEND utilities is distributed in hope that it will be
20     * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22     * General Public License for more details.
23     *
24     * You should have received a copy of the GNU General Public License
25     * along with the program; if not, write to the Free Software Foundation,
26     * Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named
27     * COPYING. COPYING is found in ../compiler.
28     */
29    
30 jds 54 /** @file
31     * ASCEND Printf stdout/stderr Substitutes Dispatcher data type.
32     * <pre>
33 ben.allan 52 * When including this file, you must include:
34 jds 59 * #include <stdio.h>
35 jds 60 * #include <stdarg.h>
36 jds 54 * #include "utilities/ascConfig.h"
37     * </pre>
38 ben.allan 52 */
39 jds 59
40     #ifndef _ascprinttype_h
41     #define _ascprinttype_h
42 ben.allan 52
43     /**
44     * Output functions interceptor vtable. This should be constructed
45     * and the functions fully operational before it is
46     * pushed on the stack of output tables.
47     */
48     struct Asc_PrintVTable {
49 jds 59 CONST char *name; /**< Vtable name. */
50     int (*print)(FILE *fp, CONST char *format, va_list args); /**< Print function. */
51     int (*fflush)(FILE *); /**< Flush function. */
52     struct Asc_PrintVTable *next; /**< Next vtable in linked list. */
53 ben.allan 52 };
54    
55 jds 59 #endif /**< _ascprinttype_h */
56 ben.allan 52

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22