xref: /petsc/src/sys/fileio/mprint.h (revision 84df9cb40eca90ea9b18a456fab7a4ecc7f6c1a4)
1 
2 #if !defined(__MPRINT_H)
3 #define __MPRINT_H
4 
5 #include <petscsys.h>             /*I    "petscsys.h"   I*/
6 #include <stdarg.h>
7 #if defined(PETSC_HAVE_STDLIB_H)
8 #include <stdlib.h>
9 #endif
10 
11 
12 /* ----------------------------------------------------------------------- */
13 typedef struct _PrintfQueue *PrintfQueue;
14 struct _PrintfQueue {
15   char       *string;
16   int         size;
17   PrintfQueue next;
18 };
19 extern PrintfQueue queue,queuebase;
20 extern int         queuelength;
21 extern FILE        *queuefile;
22 
23 #endif
24