split up headers
authorThomas Bluemel <thomas@reactsoft.com>
Tue, 10 Aug 2004 11:54:43 +0000 (11:54 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Tue, 10 Aug 2004 11:54:43 +0000 (11:54 +0000)
svn path=/trunk/; revision=10469

reactos/include/rosrtl/resstr.h [new file with mode: 0644]
reactos/include/rosrtl/string.h

diff --git a/reactos/include/rosrtl/resstr.h b/reactos/include/rosrtl/resstr.h
new file mode 100644 (file)
index 0000000..b5cdd8e
--- /dev/null
@@ -0,0 +1,43 @@
+/* $Id: resstr.h,v 1.1 2004/08/10 11:54:43 weiden Exp $
+ */
+
+#ifndef ROSRTL_RESSTR_H__
+#define ROSRTL_RESSTR_H__
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+int
+RosLenOfStrResource(HINSTANCE hInst, UINT uID);
+int
+RosAllocAndLoadStringA(LPSTR *lpTarget, HINSTANCE hInst, UINT uID);
+int
+RosAllocAndLoadStringW(LPWSTR *lpTarget, HINSTANCE hInst, UINT uID);
+DWORD
+RosFormatStrA(LPSTR *lpTarget, LPSTR lpFormat, ...);
+DWORD
+RosFormatStrW(LPWSTR *lpTarget, LPWSTR lpFormat, ...);
+DWORD
+RosLoadAndFormatStrA(HINSTANCE hInst, UINT uID, LPSTR *lpTarget, ...);
+DWORD
+RosLoadAndFormatStrW(HINSTANCE hInst, UINT uID, LPWSTR *lpTarget, ...);
+
+#ifdef UNICODE
+# define RosFmtString RosFmtStringW
+# define RosAllocAndLoadString RosAllocAndLoadStringW
+# define RosLoadAndFormatStr RosLoadAndFormatStrW
+#else
+# define RosFmtString RosFmtStringA
+# define RosAllocAndLoadString RosAllocAndLoadStringA
+# define RosLoadAndFormatStr RosLoadAndFormatStrA
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+/* EOF */
index efef777..0ee17c9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: string.h,v 1.3 2004/08/10 10:57:54 weiden Exp $
+/* $Id: string.h,v 1.4 2004/08/10 11:54:43 weiden Exp $
  */
 
 #ifndef ROSRTL_STRING_H__
@@ -46,31 +46,6 @@ NTSTATUS NTAPI RosAppendUnicodeString( PUNICODE_STRING ResultFirst,
                                       PUNICODE_STRING Second,
                                       BOOL Deallocate );
 
-int
-RosLenOfStrResource(HINSTANCE hInst, UINT uID);
-int
-RosAllocAndLoadStringA(LPSTR *lpTarget, HINSTANCE hInst, UINT uID);
-int
-RosAllocAndLoadStringW(LPWSTR *lpTarget, HINSTANCE hInst, UINT uID);
-DWORD
-RosFormatStrA(LPSTR *lpTarget, LPSTR lpFormat, ...);
-DWORD
-RosFormatStrW(LPWSTR *lpTarget, LPWSTR lpFormat, ...);
-DWORD
-RosLoadAndFormatStrA(HINSTANCE hInst, UINT uID, LPSTR *lpTarget, ...);
-DWORD
-RosLoadAndFormatStrW(HINSTANCE hInst, UINT uID, LPWSTR *lpTarget, ...);
-
-#ifdef UNICODE
-# define RosFmtString RosFmtStringW
-# define RosAllocAndLoadString RosAllocAndLoadStringW
-# define RosLoadAndFormatStr RosLoadAndFormatStrW
-#else
-# define RosFmtString RosFmtStringA
-# define RosAllocAndLoadString RosAllocAndLoadStringA
-# define RosLoadAndFormatStr RosLoadAndFormatStrA
-#endif
-
 #ifdef __cplusplus
 }
 #endif