00001 #ifndef FILE_H 00002 #define FILE_H 1 00003 #include "../error/error.h" 00004 #include "Object.h" 00005 00006 extern const struct File *File ; 00007 extern int nps_initFile(nps_error_t *); 00008 extern struct File *File_open(nps_error_t *error, const char *const str, const char *const mode); 00009 00010 extern int File_close(struct File *file, nps_error_t *error); 00011 extern ssize_t File_getl(struct File *file, char **lineptr, size_t *n); 00012 extern int File_close(struct File *file, nps_error_t *error); 00013 00014 #endif