export find_in_attrdef

(Logical change 1.93)
edge.strict_endians
flatcap.org!flatcap 2003-01-13 20:05:15 +00:00
parent d159396b8e
commit f387921c31
2 changed files with 4 additions and 1 deletions

View File

@ -87,6 +87,9 @@ extern int ntfs_attr_lookup(const ATTR_TYPES type, const uchar_t *name,
const VCN lowest_vcn, const u8 *val, const u32 val_len,
ntfs_attr_search_ctx *ctx);
extern ATTR_DEF *ntfs_attr_find_in_attrdef(const ntfs_volume *vol,
const ATTR_TYPES type);
/**
* ntfs_attrs_walk - syntactic sugar for walking all attributes in an inode
* @ctx: initialised attribute search context

View File

@ -1925,7 +1925,7 @@ void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx)
* ENOENT - The attribute @type is not specified in $AttrDef.
* EINVAL - Invalid parameters (e.g. @vol is not valid).
*/
static ATTR_DEF *ntfs_attr_find_in_attrdef(const ntfs_volume *vol,
ATTR_DEF *ntfs_attr_find_in_attrdef(const ntfs_volume *vol,
const ATTR_TYPES type)
{
ATTR_DEF *ad;