set most of trunk svn property eol-style:native
[reactos.git] / reactos / ntoskrnl / lpc / ntlpc / listen.c
index 12adb0c..ee2ade0 100644 (file)
@@ -1,53 +1,53 @@
-/*\r
- * PROJECT:         ReactOS Kernel\r
- * LICENSE:         GPL - See COPYING in the top level directory\r
- * FILE:            ntoskrnl/lpc/listen.c\r
- * PURPOSE:         Local Procedure Call: Listening\r
- * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)\r
- */\r
-\r
-/* INCLUDES ******************************************************************/\r
-\r
-#include <ntoskrnl.h>\r
-#include "lpc.h"\r
-#define NDEBUG\r
-#include <internal/debug.h>\r
-\r
-/* PUBLIC FUNCTIONS **********************************************************/\r
-\r
-/*\r
- * @implemented\r
- */\r
-NTSTATUS\r
-NTAPI\r
-NtListenPort(IN HANDLE PortHandle,\r
-             OUT PPORT_MESSAGE ConnectMessage)\r
-{\r
-        NTSTATUS Status;\r
-        PAGED_CODE();\r
-        LPCTRACE(LPC_LISTEN_DEBUG, "Handle: %lx\n", PortHandle);\r
-\r
-        /* Wait forever for a connection request. */\r
-        for (;;)\r
-        {\r
-            /* Do the wait */\r
-            Status = NtReplyWaitReceivePort(PortHandle,\r
-                                            NULL,\r
-                                            NULL,\r
-                                            ConnectMessage);\r
-\r
-            /* Accept only LPC_CONNECTION_REQUEST requests. */\r
-            if ((Status != STATUS_SUCCESS) ||\r
-                (LpcpGetMessageType(ConnectMessage) == LPC_CONNECTION_REQUEST))\r
-            {\r
-                /* Break out */\r
-                break;\r
-            }\r
-        }\r
-\r
-        /* Return status */\r
-        return Status;\r
-}\r
-\r
-\r
-/* EOF */\r
+/*
+ * PROJECT:         ReactOS Kernel
+ * LICENSE:         GPL - See COPYING in the top level directory
+ * FILE:            ntoskrnl/lpc/listen.c
+ * PURPOSE:         Local Procedure Call: Listening
+ * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <ntoskrnl.h>
+#include "lpc.h"
+#define NDEBUG
+#include <internal/debug.h>
+
+/* PUBLIC FUNCTIONS **********************************************************/
+
+/*
+ * @implemented
+ */
+NTSTATUS
+NTAPI
+NtListenPort(IN HANDLE PortHandle,
+             OUT PPORT_MESSAGE ConnectMessage)
+{
+        NTSTATUS Status;
+        PAGED_CODE();
+        LPCTRACE(LPC_LISTEN_DEBUG, "Handle: %lx\n", PortHandle);
+
+        /* Wait forever for a connection request. */
+        for (;;)
+        {
+            /* Do the wait */
+            Status = NtReplyWaitReceivePort(PortHandle,
+                                            NULL,
+                                            NULL,
+                                            ConnectMessage);
+
+            /* Accept only LPC_CONNECTION_REQUEST requests. */
+            if ((Status != STATUS_SUCCESS) ||
+                (LpcpGetMessageType(ConnectMessage) == LPC_CONNECTION_REQUEST))
+            {
+                /* Break out */
+                break;
+            }
+        }
+
+        /* Return status */
+        return Status;
+}
+
+
+/* EOF */