summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-29 23:39:13 +0000
committerJeremy Allison <jra@samba.org>2004-03-29 23:39:13 +0000
commit578d7157558e4303bfed583cded4c4f35b4e2911 (patch)
treeeb24db87deb17828a0d5f58f460708f24c587ac6 /source3/smbd/trans2.c
parent099974aa1575bf580c69c3848bc73d5d3b4b2bf3 (diff)
downloadsamba-578d7157558e4303bfed583cded4c4f35b4e2911.tar.gz
samba-578d7157558e4303bfed583cded4c4f35b4e2911.tar.bz2
samba-578d7157558e4303bfed583cded4c4f35b4e2911.zip
Setting EA's to zero length deletes them.
Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 2f164dafa2..9f5ef09454 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -50,6 +50,16 @@ SMB_BIG_UINT get_allocation_size(files_struct *fsp, SMB_STRUCT_STAT *sbuf)
}
/****************************************************************************
+ Utility functions for dealing with extended attributes.
+****************************************************************************/
+
+struct ea_list {
+ struct ea_list *next, *prev;
+ struct ea_struct ea;
+};
+
+static
+/****************************************************************************
Send the required number of replies back.
We assume all fields other than the data fields are
set correctly for the type of call.