xref: /petsc/src/sys/fileio/mprint.h (revision e2df7a95c5ea77c899beea10ff9effd6061e7c8f)
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 1024
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