clusapi: Add the clusapi.h public header [try2]

James Hawkins truiken at gmail.com
Fri Oct 13 16:03:55 CDT 2006


Hi,

I'm assuming that this was rejected because I forgot the changes to
include/Makefile.in.  This version of the patch has the necessary
changes.  If there is something else wrong, let me know.

Changelog:
* Add the clusapi.h public header.

 dlls/clusapi/clusapi.c |    1 +
 include/Makefile.in    |    1 +
 include/clusapi.h      |   24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+), 0 deletions(-)

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/clusapi/clusapi.c b/dlls/clusapi/clusapi.c
index 4c34ed3..78dfd0f 100644
--- a/dlls/clusapi/clusapi.c
+++ b/dlls/clusapi/clusapi.c
@@ -22,6 +22,7 @@ #include <stdarg.h>
 
 #include "windef.h"
 #include "winbase.h"
+#include "clusapi.h"
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(clusapi);
diff --git a/include/Makefile.in b/include/Makefile.in
index 931c75c..2dc8fb0 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -78,6 +78,7 @@ WINDOWS_INCLUDES = \
 	cderr.h \
 	cguid.h \
 	cierror.h \
+	clusapi.h \
 	commctrl.h \
 	commdlg.h \
 	compobj.h \
diff --git a/include/clusapi.h b/include/clusapi.h
new file mode 100644
index 0000000..f79c150
--- /dev/null
+++ b/include/clusapi.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2006 James Hawkins
+ *
+ * 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
+ */
+
+#ifndef __WINE_CLUSAPI_H
+#define __WINE_CLUSAPI_H
+
+DWORD WINAPI GetNodeClusterState(LPCWSTR lpszNodeName, DWORD *pdwClusterState);
+
+#endif /* __WINE_CLUSAPI_H */
-- 
1.4.2.1


More information about the wine-patches mailing list