blob: d47bad5cf9abb7261701c492a8afebaae5d1e5ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef __PARSER_H
#define __PARSER_H
#include "types.h"
#define LINE_SIZE 4096
/**
* Return a recipe struct after parsing file in path.
*
* Path can be relative or full, ~ will be resolved as $HOME, and - will accept
* input from stdin
*/
recipe *
parse(char * path, const char * prev);
#endif /* __PARSER_H */
|