OSDN Git Service

*** empty log message ***
authorkoinec <>
Sun, 21 Jun 2009 05:38:27 +0000 (05:38 +0000)
committerkoinec <>
Sun, 21 Jun 2009 05:38:27 +0000 (05:38 +0000)
deamon/drd64_marshald_dispatch.c
deamon/drd64_marshald_dispatch.h [new file with mode: 0644]

index 71dcfb0..1dbffd3 100644 (file)
@@ -283,7 +283,7 @@ int
                                if( FD_ISSET( i_cnt, &fds_now ) )       {
                                        /* Read */
                                        assert( DRD64_SERVER_RECVSTATUS_STATUS_READ
-                                                                                       != p_recv->b_recv_status );
+                                                                                       == p_recv->b_recv_status );
                        
                                        /*i_err = Drd64_Server_RecvSocket_SocketRead_Cert(
                                                                        i_cnt, &i_pid );*/
diff --git a/deamon/drd64_marshald_dispatch.h b/deamon/drd64_marshald_dispatch.h
new file mode 100644 (file)
index 0000000..0b0e335
--- /dev/null
@@ -0,0 +1,49 @@
+/*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64
+
+                         D r . D e a m o n  6 4
+                        for INTEL64(R), AMD64(R)
+       
+   Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/
+
+/* File Info -----------------------------------------------------------
+File: drd64_.h
+Function: Header 
+Comment: 
+----------------------------------------------------------------------*/
+
+#ifndef DRD64_HEADER_MARSHALD_DISPATCH
+#define DRD64_HEADER_MARSHALD_DISPATCH
+
+
+#define        DRD64_MARSHALD_DISPATCH_RESULT_CLOSE            0x00
+#define        DRD64_MARSHALD_DISPATCH_RESULT_RECEVING         0x01
+#define        DRD64_MARSHALD_DISPATCH_RESULT_COMPLETE         0x02
+#define        DRD64_MARSHALD_DISPATCH_RESULT_RESTART          0x03
+#define        DRD64_MARSHALD_DISPATCH_RESULT_POLL                     0x04
+
+#endif /* DRD64_HEADER_XXX */
+
+/* EOF of drd64_.h ----------------------------------- */