Improve exit status display. New interface from `doto' project.
[sw-tools] / src / sw_build.h
index f61b460..e83e97e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: sw_build.h,v 1.1 1999/06/02 16:53:35 mdw Exp $
+ * $Id: sw_build.h,v 1.2 1999/07/16 12:50:24 mdw Exp $
  *
  * Management of build processes
  *
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: sw_build.h,v $
- * Revision 1.1  1999/06/02 16:53:35  mdw
- * Initial revision
+ * Revision 1.2  1999/07/16 12:50:24  mdw
+ * Improve exit status display.  New interface from `doto' project.
+ *
+ * Revision 1.1.1.1  1999/06/02 16:53:35  mdw
+ * Initial import.
  *
  */
 
  *    otherwise.  (A message describing the failure will have been
  *    synthetically output before this point, so only a small visual cue is
  *    needed here.)  A zero value means this handler is not interested in
- *    close events.
+ *    close events.  The argument @summ@ is a quick summary of the exit
+ *    status.
  *
  *  * @done@ informs the handler that all builds have completed.  The handler
  *    should make sure that the display will remain as long as is needed, and
@@ -128,7 +132,7 @@ typedef struct pres {
   int (*ok)(void);
   int (*init)(archcons */*a*/);
   void (*output)(archent */*e*/, const char */*p*/, size_t /*sz*/);
-  void (*close)(archent */*e*/, int /*ok*/);
+  void (*close)(archent */*e*/, int /*ok*/, const char */*summ*/);
   void (*done)(archcons */*a*/);
   void (*abort)(archcons */*a*/);
 } pres;