/[man-db]/man-db/lib/pipeline.h
ViewVC logotype

Diff of /man-db/lib/pipeline.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by cjwatson, Sun Aug 3 17:02:02 2003 UTC revision 1.4 by cjwatson, Sun Aug 3 18:11:01 2003 UTC
# Line 52  command *command_new (const char *name); Line 52  command *command_new (const char *name);
52  command *command_new_argv (const char *name, va_list argv);  command *command_new_argv (const char *name, va_list argv);
53  command *command_new_args (const char *name, ...);  command *command_new_args (const char *name, ...);
54    
55    /* Return a duplicate of a command. */
56    command *command_dup (command *cmd);
57    
58  /* Add an argument to a command. */  /* Add an argument to a command. */
59  void command_arg (command *cmd, const char *arg);  void command_arg (command *cmd, const char *arg);
60    
# Line 73  pipeline *pipeline_new (void); Line 76  pipeline *pipeline_new (void);
76  pipeline *pipeline_new_commandv (command *cmd1, va_list cmdv);  pipeline *pipeline_new_commandv (command *cmd1, va_list cmdv);
77  pipeline *pipeline_new_commands (command *cmd1, ...);  pipeline *pipeline_new_commands (command *cmd1, ...);
78    
79    /* Joins two pipelines, neither of which are allowed to be started. Discards
80     * want_out and outfd from p1, and want_in and infd from p2.
81     */
82    pipeline *pipeline_join (pipeline *p1, pipeline *p2);
83    
84  /* Add a command to a pipeline. */  /* Add a command to a pipeline. */
85  void pipeline_command (pipeline *p, command *cmd);  void pipeline_command (pipeline *p, command *cmd);
86    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26