xref: /petsc/src/sys/fileio/mprint.h (revision 09f3b4e5628a00a1eaf17d80982cfbcc515cc9c1)
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 #include "petscfix.h"
11 
12 
13 /* ----------------------------------------------------------------------- */
14 #define QUEUESTRINGSIZE 2048
15 typedef struct _PrintfQueue *PrintfQueue;
16 struct _PrintfQueue {
17   char        string[QUEUESTRINGSIZE];
18   PrintfQueue next;
19 };
20 extern PrintfQueue queue,queuebase;
21 extern int         queuelength;
22 extern FILE        *queuefile;
23 
24 #endif
25