cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/run.h [signed-commits2]


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/run.h [signed-commits2]
Date: Tue, 29 Nov 2005 18:44:24 -0500

Index: ccvs/src/run.h
diff -u ccvs/src/run.h:1.1.4.1 ccvs/src/run.h:1.1.4.2
--- ccvs/src/run.h:1.1.4.1      Thu Oct 20 21:33:11 2005
+++ ccvs/src/run.h      Tue Nov 29 23:44:19 2005
@@ -22,9 +22,26 @@
 #include <stdbool.h>
 #include <stdio.h>
 
-/* other similar-minded stuff from run.c.  */
+/* flags for run_exec(), the fast system() for CVS */
+#define        RUN_NORMAL            0x0        /* no special behaviour */
+#define        RUN_COMBINED          (0x1 << 0) /* stdout is duped to stderr */
+#define        RUN_REALLY            (0x1 << 1) /* do the exec, even if noexec 
is on */
+#define        RUN_STDOUT_APPEND     (0x1 << 2) /* append to stdout, don't 
truncate */
+#define        RUN_STDERR_APPEND     (0x1 << 3) /* append to stderr, don't 
truncate */
+#define        RUN_SIGIGNORE         (0x1 << 4) /* ignore interrupts for 
command */
+#define        RUN_TTY               NULL
+
+void run_add_arg_p (int *, size_t *, char ***, const char *s);
+void run_arg_free_p (int, char **);
+void run_add_arg (const char *s);
+void run_print (FILE * fp);
+void run_setup (const char *prog);
+int run_exec (const char *stin, const char *stout, const char *sterr,
+              int flags);
+int run_piped (int *, int *);
 FILE *run_popen (const char *, const char *);
 int piped_child (char *const *, int *, int *, bool);
 void close_on_exec (int);
+
 
 #endif /* RUN_H */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]