From 3e63b65e23297405a75417c4633e4a51591e9370 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Wed, 24 Mar 2004 10:36:31 +0000 Subject: [PATCH] Add placeholder for ntfs_attrlist_entry_rm(). -- Not implemented yet. (Logical change 1.345) --- libntfs/attrlist.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libntfs/attrlist.c b/libntfs/attrlist.c index 406a301d..98efe64a 100644 --- a/libntfs/attrlist.c +++ b/libntfs/attrlist.c @@ -22,17 +22,24 @@ #include "config.h" +#include + #include "types.h" #include "layout.h" #include "attrib.h" #include "attrlist.h" /** - * ntfs_ - . - * @: . + * ntfs_attrlist_entry_rm - remove an attribute list attribute entry + * @ctx: attribute search context describing the attrubute list entry * - * . + * Remove the attribute list entry @ctx->al_entry from the attribute list + * attribute of the base mft record to which the attribute @ctx->attr belongs. + * + * Return 0 on success and -1 on error with errno set to the error code. */ -static void ntfs_something_or_other(void) +int ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx) { + errno = ENOTSUP; + return -1; }