aboutsummaryrefslogtreecommitdiff
path: root/flx/output_file.h
blob: 74e78e2407c9787d32fb3f72a32e245a02353ed7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __OUTPUT_FILE_H__
#define __OUTPUT_FILE_H__

#include "flx.h"
#include "input_file.h"
#include "flx_fcntl.h"

extern int    output_file_fcntl(t_file_status *env, int cmd);

extern int   output_file_write_(t_file_status *spec, t_ft *tree, int number, char *(*fct)());
extern int   output_file_write(t_file_status *spec, t_ft *tree, int number);
extern t_file_status  *output_file_open(char *desc, char *opts);
extern t_file_status  *output_file_close(t_file_status *spec);

extern t_file_status  *output_stdout_open(char *desc, char *opts);


#endif /* __OUTPUT_FILE_H__ */