1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.

Guenther
This commit is contained in:
Günther Deschner 2010-05-18 12:51:35 +02:00
parent 7f6bb48bdf
commit a531537341
2 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,6 @@
#define SEC_DESC_REVISION 0x1
#endif
#define SEC_DESC_HEADER_SIZE (2 * sizeof(uint16) + 4 * sizeof(uint32))
/* A type to describe the mapping of generic access rights to object
specific access rights. */

View File

@ -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,