/* $Id: seqbuf.c,v 1.1 2004/04/03 04:18:38 jmuelmen Exp $ */ #include "scheduler.h" #include "buf.h" #include "parse.h" #include "shell.h" #include "act.h" #include #include #include #include void *sequence (void *arg) { buf_t *buf = (buf_t *)arg; parse_action_t **a = buf->actions + 1; buf_process_segment(buf, &a, buf->actions[buf->n_actions - 2], 1); /* when we're done, we can free the buffer */ free(buf); return NULL; }