summaryrefslogtreecommitdiff
path: root/yaffs_nameval.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-06-08 15:46:58 +1200
committerCharles Manning <cdhmanning@gmail.com>2010-06-08 15:46:58 +1200
commit4a96d43bb566f00596a31a41c535cabbf52d4f20 (patch)
tree78e1f9e2c32b80c77b46f7ac69938272fc3d134d /yaffs_nameval.h
parent523109e39ed14c0153c7947ad7a8f31a0917df93 (diff)
yaffs: Add xattrib support
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_nameval.h')
-rw-r--r--yaffs_nameval.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/yaffs_nameval.h b/yaffs_nameval.h
new file mode 100644
index 0000000..ad81005
--- /dev/null
+++ b/yaffs_nameval.h
@@ -0,0 +1,14 @@
+#ifndef __NAMEVAL_H__
+#define __NAMEVAL_H__
+
+#define NVAL_CREATE 0x01
+#define NVAL_REPLACE 0x02
+
+int nval_del(char *xb, int xb_size, const char *name);
+int nval_set(char *xb, int xb_size, const char *name, const char *buf, int bsize, int flags);
+int nval_get(const char *xb, int xb_size, const char *name, char *buf, int bsize);
+int nval_list(const char *xb, int xb_size, char *buf, int bsize);
+int nval_load(char *xb, int xb_size, const char *src, int src_size);
+int nval_save(const char *xb, int xb_size, char *dest, int dest_size);
+
+#endif