]> andersk Git - moira.git/blobdiff - gdb/gdb_ops.c
Added index for subnet(saddr)
[moira.git] / gdb / gdb_ops.c
index 449feec61f642868878813c4ab284fe09afd7ecd..68756dfb76c3ee7683638024f49aee78bac452fa 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *     $Source$
- *     $Header$
+ * $Source$
+ * $Header$
  */
 
 #ifndef lint
@@ -8,59 +8,44 @@ static char *rcsid_gdb_ops_c = "$Header$";
 #endif lint
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-/************************************************************************/
-/*     
-/*                        gdb_ops.c
-/*     
-/*           GDB - Asynchronous Operations and Their Synchronous
-/*                 Counterparts
-/*     
-/*     Author: Noah Mendelsohn
-/*     Copyright: 1986 MIT Project Athena 
-/*             For copying and distribution information, please see
-/*             the file <mit-copyright.h>.
-/*     
-/*     These routines provide a suite of asynchronous operations 
-/*     on connections.
-/*     
-/************************************************************************/
+/************************************************************************
+ *     
+ *                        gdb_ops.c
+ *     
+ *           GDB - Asynchronous Operations and Their Synchronous
+ *                 Counterparts
+ *     
+ *     Author: Noah Mendelsohn
+ *     Copyright: 1986 MIT Project Athena 
+ *             For copying and distribution information, please see
+ *             the file <mit-copyright.h>.
+ *     
+ *     These routines provide a suite of asynchronous operations 
+ *     on connections.
+ *     
+ ************************************************************************/
 
 #include <mit-copyright.h>
 #include <stdio.h>
 #include "gdb.h"
 #include <netinet/in.h>
 #include <sys/ioctl.h>
+#ifdef SOLARIS
+#include <sys/filio.h>
+#endif
 #ifdef vax
 extern u_long htonl();
 #endif vax
-\f
-/************************************************************************/
-/*     
-/*                     send_object (send_object)
-/*     
-/*     Synchronous form of start_sending_object.  Returns either
-/*     OP_CANCELLED, or OP_RESULT(op).
-/*     
-/************************************************************************/
+
+
+/************************************************************************
+ *     
+ *                     send_object (send_object)
+ *     
+ *     Synchronous form of start_sending_object.  Returns either
+ *     OP_CANCELLED, or OP_RESULT(op).
+ *     
+ ************************************************************************/
 
 int
 send_object(con, objp, type)
@@ -82,7 +67,8 @@ int type;
        delete_operation(op);
        return retval;
 }
-\f
+
+
 /************************************************************************/
 /*     
 /*                     start_send_object (g_snobj)
@@ -236,7 +222,7 @@ struct obj_data *arg;
        return OP_COMPLETE;
 }
 
-\f
+
 /************************************************************************/
 /*     
 /*                     receive_object (receive_object)
@@ -265,7 +251,8 @@ int type;
        delete_operation(op);
        return retval;
 }
-\f
+
+
 /************************************************************************/
 /*     
 /*                     start_receiving_object (g_rcobj)
@@ -478,7 +465,8 @@ struct robj_data *arg;
        db_free((char *)arg, sizeof(struct robj_data)); /* free the state structure */
        return OP_COMPLETE;
 }
-\f
+
+
 /************************************************************************/
 /*     
 /*                     complete_operation(complete_operation)
@@ -511,7 +499,7 @@ OPERATION op;
 
 }
 
-\f
+
 /************************************************************************/
 /*     
 /*                     cancel_operation(cancel_operation)
@@ -552,7 +540,8 @@ OPERATION op;
 
        return OP_CANCELLED;
 }
-\f
+
+
 /************************************************************************/
 /*     
 /*                     start_listening
@@ -671,7 +660,7 @@ struct lis_data *arg;
        return OP_COMPLETE;
 }
 
-\f
+
 /************************************************************************/
 /*     
 /*                     start_accepting_client
This page took 0.058366 seconds and 4 git commands to generate.