Index: trunk/include/sh_extern.h
===================================================================
--- trunk/include/sh_extern.h	(revision 272)
+++ trunk/include/sh_extern.h	(revision 275)
@@ -35,4 +35,10 @@
  */
 int sh_ext_popen (sh_tas_t * task);
+
+/*
+ * -- generic simple safe popen; returns 0 on success, -1 otherwise,
+ *    executes shell command
+ */
+int sh_ext_popen_init (sh_tas_t * task, char * command);
 
 /*
Index: trunk/include/sh_log_check.h
===================================================================
--- trunk/include/sh_log_check.h	(revision 272)
+++ trunk/include/sh_log_check.h	(revision 275)
@@ -26,4 +26,5 @@
 #define SH_LOGFILE_REWIND (1<<1)
 #define SH_LOGFILE_PIPE   (1<<2)
+#define SH_LOGFILE_NOFILE (1<<3)
 
 struct sh_logfile 
@@ -52,4 +53,13 @@
 };
 
+/* Generic callback function to parse fileinfo. 
+ */
+void * sh_eval_fileinfo_generic(char * str);
+
+/* Generic parser info. 
+ */
+struct sh_logrecord * sh_parse_generic (sh_string * logline, void * fileinfo);
+
+
 /****************************************************************
  **
@@ -59,4 +69,11 @@
 /* Open file, position at stored offset. */
 int sh_open_for_reader (struct sh_logfile * logfile);
+
+/* Simple line reader for executed shell command   */ 
+sh_string * sh_command_reader (sh_string * record, 
+			       struct sh_logfile * logfile);
+
+/* Wrapper for sh_command_reader */
+sh_string * sh_read_shell (sh_string * record, struct sh_logfile * logfile);
 
 /* Simple line reader.   */ 
