///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Winnov L.P., 1996.  All rights reserved
// security.h: CSecurity class definition
///////////////////////////////////////////////////////////////////////////////

#ifndef _SECURITY_INCLUDED
#define _SECURITY_INCLUDED

typedef struct tag_SECURITY {
    SECURITY_ATTRIBUTES     m_sa;	// security attributes struct
    PSECURITY_DESCRIPTOR    m_pSD;	// dynamically allocated security descriptor
} SECURITY, *PSECURITY, FAR * LPSECURITY;

#ifdef __cplusplus
extern "C" {
#endif  /* __cplusplus */

void securityConstructor (PSECURITY pSecurity);			// constructor
void securityDestructor (PSECURITY pSecurity);			// destructor
DWORD securityOpen (PSECURITY pSecurity);			// open
void securityClose (PSECURITY pSecurity);			// close
PSECURITY_ATTRIBUTES securityGetSecurityAttributes (PSECURITY pSecurity);	// get

#ifdef __cplusplus
}
#endif

#endif	// ndef _SECURITY_INCLUDED
