X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_nameval.h;fp=yaffs_nameval.h;h=ad81005a22c4bcf49dbf7b12082957cb0a469a20;hp=0000000000000000000000000000000000000000;hb=4a96d43bb566f00596a31a41c535cabbf52d4f20;hpb=523109e39ed14c0153c7947ad7a8f31a0917df93 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