diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 12:51:35 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 12:51:35 +0200 |
commit | a531537341d874ed2bfa7058ec45417e856bed4e (patch) | |
tree | cbfa2eb0fc9eb8ad726952fd1a89fb4b1cad1274 /source3/lib/secdesc.c | |
parent | 7f6bb48bdf230465fd26514ff43d92e2c1f32fe6 (diff) | |
download | samba-a531537341d874ed2bfa7058ec45417e856bed4e.tar.gz samba-a531537341d874ed2bfa7058ec45417e856bed4e.tar.bz2 samba-a531537341d874ed2bfa7058ec45417e856bed4e.zip |
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
Guenther
Diffstat (limited to 'source3/lib/secdesc.c')
-rw-r--r-- | source3/lib/secdesc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c index 5791ab6153..4964fd5f45 100644 --- a/source3/lib/secdesc.c +++ b/source3/lib/secdesc.c @@ -153,6 +153,8 @@ struct security_descriptor *sec_desc_merge(TALLOC_CTX *ctx, struct security_desc Creates a struct security_descriptor structure ********************************************************************/ +#define SEC_DESC_HEADER_SIZE (2 * sizeof(uint16) + 4 * sizeof(uint32)) + struct security_descriptor *make_sec_desc(TALLOC_CTX *ctx, enum security_descriptor_revision revision, uint16 type, |