* Changed first parameter from int fd to FILE *f in the following functions:
* clixon_xml_parse_file(), clixon_json_parse_file(), yang_parse_file() * See [Bytewise read() of files is slow #146](https://github.com/clicon/clixon/issues/146)
This commit is contained in:
parent
7a0838da3a
commit
c31b1c471b
21 changed files with 113 additions and 99 deletions
|
|
@ -51,7 +51,7 @@
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
yang_stmt *yang_parse_file(int fd, const char *name, yang_stmt *ysp);
|
||||
yang_stmt *yang_parse_file(FILE *fp, const char *name, yang_stmt *ysp);
|
||||
yang_stmt *yang_parse_filename(const char *filename, yang_stmt *ysp);
|
||||
int yang_spec_parse_module(clicon_handle h, const char *module,
|
||||
const char *revision, yang_stmt *yspec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue