]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/libsmooth/libsmooth.h
libsmooth+install: Fix output redirection
[ipfire-2.x.git] / src / libsmooth / libsmooth.h
index 54a4db1a869f32cf8da2ce8f98b66ffabc679dc8..d731e548af8172ceffa2fd1f1740e563f152b415 100644 (file)
@@ -43,15 +43,15 @@ struct keyvalue {
 
 /* libsmooth.c */
 void stripnl(char *s);
-int mysystem(const char *command);
+int mysystem(const char* output, const char *command);
 void errorbox(char *message);
 int statuswindowscroll(int width, int height, const char *title, const char *text, ...);
 int disclaimerbox(char *message);
 void statuswindow(int width, int height, const char *title, const char *text, ...);
 int runcommandwithprogress(int width, int height, const char *title, const char *command,
        int lines, char *text, ...);
-int runcommandwithstatus(const char *command, const char* title, const char *message);
-int runhiddencommandwithstatus(const char *command, const char* title, const char *message);
+int runcommandwithstatus(const char *command, const char* title, const char *message, const char* output);
+int runhiddencommandwithstatus(const char *command, const char* title, const char *message, const char* output);
 int checkformodule(const char *module); 
 int replace(char filename1[], char *from, char *to);
 char* get_version(void);