diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-29 23:39:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-29 23:39:13 +0000 |
commit | 578d7157558e4303bfed583cded4c4f35b4e2911 (patch) | |
tree | eb24db87deb17828a0d5f58f460708f24c587ac6 /source3/smbd/trans2.c | |
parent | 099974aa1575bf580c69c3848bc73d5d3b4b2bf3 (diff) | |
download | samba-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.c | 10 |
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. |