Author: ekohl
Date: Sat Dec 6 15:33:49 2008
New Revision: 37906
URL:
http://svn.reactos.org/svn/reactos?rev=37906&view=rev
Log:
- Introduce a common header file.
- Use Wine-style debug code everywhere.
Added:
trunk/reactos/dll/win32/lsasrv/lsasrv.h (with props)
Modified:
trunk/reactos/dll/win32/lsasrv/lsarpc.c
trunk/reactos/dll/win32/lsasrv/lsasrv.c
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsarpc.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Sat Dec 6 15:33:49 2008
@@ -6,6 +6,7 @@
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
+#include "lsasrv.h"
#include "lsa_s.h"
#include <wine/debug.h>
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] Sat Dec 6 15:33:49 2008
@@ -3,10 +3,11 @@
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
-#define NDEBUG
-#include <debug.h>
+#include "lsasrv.h"
-VOID LsarStartRpcServer(VOID);
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(lsasrv);
NTSTATUS WINAPI
@@ -14,7 +15,7 @@
{
HANDLE hEvent;
- DPRINT("LsapInitLsa() called\n");
+ TRACE("LsapInitLsa()\n");
LsarStartRpcServer();
@@ -29,6 +30,7 @@
return STATUS_SUCCESS;
}
+
void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len)
{
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len);
@@ -40,5 +42,4 @@
RtlFreeHeap(RtlGetProcessHeap(), 0, ptr);
}
-
/* EOF */
Added: trunk/reactos/dll/win32/lsasrv/lsasrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.h?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.h (added)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.h [iso-8859-1] Sat Dec 6 15:33:49 2008
@@ -1,0 +1,12 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: Local Security Authority (LSA) Server
+ * FILE: reactos/dll/win32/lsasrv/lsasrv.h
+ * PURPOSE:
+ *
+ * PROGRAMMERS: Eric Kohl
+ */
+
+/* lsarpc.c */
+VOID LsarStartRpcServer(VOID);
+
Propchange: trunk/reactos/dll/win32/lsasrv/lsasrv.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/dll/win32/lsasrv/lsasrv.h
------------------------------------------------------------------------------
svn:keywords = author date revision