authz: Add stub dll.

This commit is contained in:
Austin English 2009-01-27 23:01:17 -06:00 committed by Alexandre Julliard
parent 43db8477af
commit 78cffc6e91
5 changed files with 109 additions and 0 deletions

9
configure vendored
View File

@ -24133,6 +24133,14 @@ ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules"
ac_config_files="$ac_config_files dlls/atl/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/authz/Makefile"
test "x$enable_authz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
authz"
ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
dlls/authz/Makefile: dlls/authz/Makefile.in dlls/Makedll.rules"
ac_config_files="$ac_config_files dlls/authz/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \\
dlls/avicap32/Makefile"
test "x$enable_avicap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
@ -28293,6 +28301,7 @@ do
"dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
"dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
"dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
"dlls/authz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/authz/Makefile" ;;
"dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
"dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
"dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;

View File

@ -1809,6 +1809,7 @@ WINE_CONFIG_MAKEFILE([dlls/advpack/tests/Makefile],[dlls/Maketest.rules],[dlls],
WINE_CONFIG_MAKEFILE([dlls/amstream/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/appwiz.cpl/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/atl/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/authz/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/avicap32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/avifil32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/browseui/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])

13
dlls/authz/Makefile.in Normal file
View File

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = authz.dll
IMPORTS = kernel32
C_SRCS = \
authz.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

44
dlls/authz/authz.c Normal file
View File

@ -0,0 +1,44 @@
/*
* AUTHZ Implementation
*
* Copyright 2009 Austin English
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(authz);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
default:
break;
}
return TRUE;
}

42
dlls/authz/authz.spec Normal file
View File

@ -0,0 +1,42 @@
@ stub AuthzAccessCheck
@ stub AuthzAddSidsToContext
@ stub AuthzCachedAccessCheck
@ stub AuthzEnumerateSecurityEventSources
@ stub AuthzEvaluateSacl
@ stub AuthzFreeAuditEvent
@ stub AuthzFreeContext
@ stub AuthzFreeHandle
@ stub AuthzFreeResourceManager
@ stub AuthzGetInformationFromContext
@ stub AuthzInitializeContextFromAuthzContext
@ stub AuthzInitializeContextFromSid
@ stub AuthzInitializeContextFromToken
@ stub AuthzInitializeObjectAccessAuditEvent
@ stub AuthzInitializeObjectAccessAuditEvent2
@ stub AuthzInitializeResourceManager
@ stub AuthzInstallSecurityEventSource
@ stub AuthzOpenObjectAudit
@ stub AuthzRegisterSecurityEventSource
@ stub AuthzReportSecurityEvent
@ stub AuthzReportSecurityEventFromParams
@ stub AuthzUninstallSecurityEventSource
@ stub AuthzUnregisterSecurityEventSource
@ stub AuthziAllocateAuditParams
@ stub AuthziCheckContextMembership
@ stub AuthziFreeAuditEventType
@ stub AuthziFreeAuditParams
@ stub AuthziFreeAuditQueue
@ stub AuthziGenerateAdminAlertAuditW
@ stub AuthziInitializeAuditEvent
@ stub AuthziInitializeAuditEventType
@ stub AuthziInitializeAuditParams
@ stub AuthziInitializeAuditParamsFromArray
@ stub AuthziInitializeAuditParamsWithRM
@ stub AuthziInitializeAuditQueue
@ stub AuthziInitializeContextFromSid
@ stub AuthziLogAuditEvent
@ stub AuthziModifyAuditEvent2
@ stub AuthziModifyAuditEvent
@ stub AuthziModifyAuditEventType
@ stub AuthziModifyAuditQueue
@ stub AuthziSourceAudit