Revision 1.2 |
Revision 1.4 |
# include <unistd.h>
# include <stdlib.h>
|
#include "cow.h"
#include "http_message.h"
|
# include <stdio.h>
# include "http_message.h"
|
|
void create_common_env() { /* not yet */
|
void create_common_env() { /* not yet */
|
return (void)NULL;
|
//return (void)NULL;
|
} int do_job(msg * req) { FILE *tf = tmpfile();
|
} int do_job(msg * req) { FILE *tf = tmpfile();
|
int child_pid;
|
|
int pipes[2];
|
int pipes[2];
|
if (NULL == tmpfile)
|
if (NULL == tf)
|
return -1; pipe(pipes);
|
return -1; pipe(pipes);
|
Line 61 |
Line 58 |
return 0; }
|
return 0; }
|