CCL commands stop/continue implemented. New functions gw_res_{int,bool}
[egate.git] / kernel / monitor.c
index 405369b..84b5896 100644 (file)
@@ -2,7 +2,11 @@
  * Europagate, 1995
  *
  * $Log: monitor.c,v $
- * Revision 1.4  1995/05/02 15:26:00  adam
+ * Revision 1.5  1995/05/03 07:37:42  adam
+ * CCL commands stop/continue implemented. New functions gw_res_{int,bool}
+ * are used when possible.
+ *
+ * Revision 1.4  1995/05/02  15:26:00  adam
  * Monitor observes death of child (email kernel). The number
  * of simultanous processes is controlled now. Email requests are
  * queued if necessary. This scheme should only be forced if no kernels
@@ -43,8 +47,8 @@
 
 #define LINE_MAX 1024
 
-#define MONITOR_FIFO_S "fifo.s"
-#define MONITOR_FIFO_C "fifo.c"
+#define MONITOR_FIFO_S "fifo.s.m"
+#define MONITOR_FIFO_C "fifo.c.m"
 
 static char *module = "monitor";
 static jmp_buf retry_jmp;
@@ -67,7 +71,7 @@ static void reread_resources (void)
                 default_res);
         exit (1);
     }
-    max_process = atoi (gw_res_get (monitor_res, "gw.max.process", "10"));
+    max_process = gw_res_int (monitor_res, "gw.max.process", 10);
 }
 
 struct ke_info {