summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/rib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ouroboros/rib.h b/include/ouroboros/rib.h
index fda36ead..5a3d66dc 100644
--- a/include/ouroboros/rib.h
+++ b/include/ouroboros/rib.h
@@ -25,6 +25,9 @@
#define RIB_PATH_LEN 128
+#include <sys/stat.h>
+#include <sys/types.h>
+
struct rib;
struct rib_ops {
@@ -32,6 +35,8 @@ struct rib_ops {
char * buf,
size_t len);
int (* readdir)(char *** entries);
+ int (* getattr)(const char * path,
+ struct stat * st);
};
int rib_init(const char * prefix);