blob: ed8290f857b5a07f6b97159763abfc4efdbbec7e (
plain) (
tree)
|
|
#ifndef DEF_FWIK_IO_NODE_H
#define DEF_FWIK_IO_NODE_H
#include <tce/syscall.h>
#include <tce/vfs.h>
#include <stdio.h>
#include <cpp.h>
#include <String.h>
class Term;
class Node {
public:
FILE fd;
file_info info;
bool valid;
Node(FILE f);
Node(const char* filename, int mode);
virtual ~Node() {}
void close();
virtual Term* as_term() { return 0; }
};
String path_cat(const String &a, const String &b, bool trailing_slash = true);
#endif
|