2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
authorCasper Hornstrup <chorns@users.sourceforge.net>
Sun, 15 Aug 2004 17:03:15 +0000 (17:03 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Sun, 15 Aug 2004 17:03:15 +0000 (17:03 +0000)
* lib/advapi32/.cvsignore: Ignore *.gch.
* lib/advapi32/advapi32.h: New file.
* lib/advapi32/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10553

22 files changed:
reactos/ChangeLog
reactos/lib/advapi32/.cvsignore
reactos/lib/advapi32/advapi32.h [new file with mode: 0644]
reactos/lib/advapi32/makefile
reactos/lib/advapi32/misc/dllmain.c
reactos/lib/advapi32/misc/hwprofiles.c
reactos/lib/advapi32/misc/logon.c
reactos/lib/advapi32/misc/shutdown.c
reactos/lib/advapi32/misc/sysfunc.c
reactos/lib/advapi32/reg/reg.c
reactos/lib/advapi32/sec/ac.c
reactos/lib/advapi32/sec/audit.c
reactos/lib/advapi32/sec/lsa.c
reactos/lib/advapi32/sec/misc.c
reactos/lib/advapi32/sec/sec.c
reactos/lib/advapi32/sec/sid.c
reactos/lib/advapi32/service/eventlog.c
reactos/lib/advapi32/service/scm.c
reactos/lib/advapi32/service/sctrl.c
reactos/lib/advapi32/service/undoc.c
reactos/lib/advapi32/token/privilege.c
reactos/lib/advapi32/token/token.c

index a70f6f2..234a2cf 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+
+       * lib/advapi32/.cvsignore: Ignore *.gch.
+       * lib/advapi32/advapi32.h: New file.
+       * lib/advapi32/*/*.c: Use pre-compiled header.
+
 2004-08-15  Casper S. Hornstrup  <chorns@users.sourceforge.net>
 
        * ntoskrnl/include/.cvsignore: New file.
diff --git a/reactos/lib/advapi32/advapi32.h b/reactos/lib/advapi32/advapi32.h
new file mode 100644 (file)
index 0000000..cb1c067
--- /dev/null
@@ -0,0 +1,9 @@
+#include <stdarg.h>
+#include <string.h>
+#include <wchar.h>
+#include <tchar.h>
+#include <ntdll/rtl.h>
+#define NTOS_MODE_USER
+#include <ntos.h>
+#include <windows.h>
+#include <rosrtl/string.h>
index 9a96ad9..574c29c 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: makefile,v 1.41 2004/06/17 09:07:12 ekohl Exp $
+# $Id: makefile,v 1.42 2004/08/15 17:03:14 chorns Exp $
 
 PATH_TO_TOP = ../..
 
@@ -6,6 +6,8 @@ TARGET_TYPE = dynlink
 
 TARGET_NAME = advapi32
 
+TARGET_PCH = advapi32.h
+
 TARGET_CFLAGS = -Wall -Werror -fno-builtin -D__USE_W32API
 # TARGET_CFLAGS += -DUNICODE
 
index aa26079..56c3e13 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: dllmain.c,v 1.7 2003/02/02 19:26:07 hyperion Exp $
+/* $Id: dllmain.c,v 1.8 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -9,9 +9,7 @@
  *                  Created ???
  */
 
-#include <ddk/ntddk.h>
-#include <windows.h>
-
+#include "advapi32.h"
 #define NDEBUG
 #include <debug.h>
 
index d89b9d8..adc5357 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: hwprofiles.c,v 1.2 2004/06/17 09:07:12 ekohl Exp $
+/* $Id: hwprofiles.c,v 1.3 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -8,8 +8,8 @@
  * UPDATE HISTORY:
  *     20042502
  */
-#include <ddk/ntddk.h>
-#include <windows.h>
+
+#include "advapi32.h"
 #include <debug.h>
 
 /******************************************************************************
index 0dfab31..c7e045e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: logon.c,v 1.10 2004/08/10 21:18:16 gvg Exp $
+/* $Id: logon.c,v 1.11 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS system libraries
@@ -7,11 +7,7 @@
  * PROGRAMMER:  Eric Kohl
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
+#include "advapi32.h"
 #define NDEBUG
 #include <debug.h>
 
index d87b088..7c7b2bd 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: shutdown.c,v 1.11 2004/01/20 01:40:18 ekohl Exp $
+/* $Id: shutdown.c,v 1.12 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:     ReactOS system libraries
  *      19990515 EA
  */
 
-#include <windows.h>
-
-#define NTOS_MODE_USER
-#include <ntos.h>
+#include "advapi32.h"
 
 #define USZ {0,0,0}
 
index 94c2914..e6c09a5 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sysfunc.c,v 1.7 2003/07/10 15:05:55 chorns Exp $
+/* $Id: sysfunc.c,v 1.8 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -9,7 +9,8 @@
  *     19990413 EA     created
  *     19990415 EA
  */
-#include <windows.h>
+
+#include "advapi32.h"
 
 /**********************************************************************
  *     SystemFunction001
index a817964..116b5ce 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: reg.c,v 1.53 2004/07/18 23:52:30 navaraf Exp $
+/* $Id: reg.c,v 1.54 2004/08/15 17:03:14 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
 
 /* INCLUDES *****************************************************************/
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddk.h>
-#include <rosrtl/string.h>
-#include <ntdll/rtl.h>
-#include <windows.h>
-#include <wchar.h>
-
+#include "advapi32.h"
 #define NDEBUG
 #include <debug.h>
 
index ebb83d7..78e6259 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: ac.c,v 1.9 2004/02/25 14:25:11 ekohl Exp $
+/* $Id: ac.c,v 1.10 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -6,9 +6,7 @@
  * PURPOSE:         ACL/ACE functions
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
 
 
 /* --- ACL --- */
index d8320a7..cfbfdee 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: audit.c,v 1.2 2003/07/20 22:11:58 ekohl Exp $
+/* $Id: audit.c,v 1.3 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -11,9 +11,7 @@
 
 /* INCLUDES *****************************************************************/
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
 
 
 /* FUNCTIONS ****************************************************************/
index fb5a672..81ca059 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: lsa.c,v 1.11 2004/06/17 09:07:12 ekohl Exp $
+/* $Id: lsa.c,v 1.12 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -12,9 +12,7 @@
  *
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
 #include <ntsecapi.h>
 
 #define NDEBUG
index 84ad829..79dbd84 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.21 2004/07/10 14:38:24 weiden Exp $
+/* $Id: misc.c,v 1.22 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -6,9 +6,7 @@
  * PURPOSE:         Miscellaneous security functions
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
 #include <accctrl.h>
 
 #define NDEBUG
index 447fde7..ead1ddd 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sec.c,v 1.21 2004/07/11 13:33:40 ekohl Exp $
+/* $Id: sec.c,v 1.22 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
  *                  Created 01/11/98
  */
 
-#define NTOS_MODE_USER
-#include <windows.h>
-#include <ntos.h>
-
+#include "advapi32.h"
 #include <debug.h>
 
 /*
index b930334..3b45215 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sid.c,v 1.13 2004/06/20 23:39:07 gdalsnes Exp $
+/* $Id: sid.c,v 1.14 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -6,10 +6,8 @@
  * PURPOSE:         Security ID functions
  */
 
+#include "advapi32.h"
 #include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
 
 
 /*
index 4c8266b..e7df031 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <stdarg.h>
-
+#include "advapi32.h"
 #define NDEBUG
 #include <debug.h>
 
index ba7cfb8..f26cd96 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: scm.c,v 1.22 2004/07/03 17:40:21 navaraf Exp $
+/* $Id: scm.c,v 1.23 2004/08/15 17:03:15 chorns Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
 
 /* INCLUDES ******************************************************************/
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <wchar.h>
-#include <tchar.h>
-
+#include "advapi32.h"
 #define DBG
 #include <debug.h>
 
index e14b7f7..8c64b4b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sctrl.c,v 1.13 2004/01/20 01:40:19 ekohl Exp $
+/* $Id: sctrl.c,v 1.14 2004/08/15 17:03:15 chorns Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
 
 /* INCLUDES ******************************************************************/
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-#include <wchar.h>
-
+#include "advapi32.h"
 #define NDEBUG
 #include <debug.h>
 
index f9d1228..ded1983 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: undoc.c,v 1.3 2002/09/08 10:22:37 chorns Exp $
+/* $Id: undoc.c,v 1.4 2004/08/15 17:03:15 chorns Exp $
  * 
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -12,7 +12,8 @@
 
 /* INCLUDES ******************************************************************/
 
-#include <windows.h>
+#include "advapi32.h"
+
 
 /* FUNCTIONS *****************************************************************/
 
index 3f256ca..9909885 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: privilege.c,v 1.8 2004/06/17 09:07:12 ekohl Exp $ 
+/* $Id: privilege.c,v 1.9 2004/08/15 17:03:15 chorns Exp $ 
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -9,9 +9,7 @@
  *     20010317 ea     stubs
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
 
 
 /**********************************************************************
index de3c63d..ed6c32f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: token.c,v 1.12 2004/07/12 12:05:49 ekohl Exp $
+/* $Id: token.c,v 1.13 2004/08/15 17:03:15 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -9,9 +9,8 @@
  *                  Created 01/11/98
  */
 
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
+
 
 /*
  * @implemented