[pisa-src] r1801 - in trunk/pairing: send.c send.h

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 14:26:44 +0100

Author: biurrun
Date: Thu Nov 26 14:26:44 2009
New Revision: 1801

Log:
Move send.c-related #defines to the .c files where they are used.

Modified:
   trunk/pairing/send.c
   trunk/pairing/send.h

Modified: trunk/pairing/send.c
==============================================================================
--- trunk/pairing/send.c        Thu Nov 26 14:26:10 2009        (r1800)
+++ trunk/pairing/send.c        Thu Nov 26 14:26:44 2009        (r1801)
@@ -12,6 +12,12 @@
 
 #include "send.h"
 
+// When these are updated, the user message in parse_options() should also be 
updated
+#define REQUEST_CONNECT        0
+#define REQUEST_GET_PWD        1
+
+#define MAX_RECV_TRIES 10
+
 struct global_send_variables global_send;
 
 /** @todo Make sure that the address we're sending from is a HIT **/

Modified: trunk/pairing/send.h
==============================================================================
--- trunk/pairing/send.h        Thu Nov 26 14:26:10 2009        (r1800)
+++ trunk/pairing/send.h        Thu Nov 26 14:26:44 2009        (r1801)
@@ -28,12 +28,6 @@
 #include "create_send_headers.h"
 
 
-// When these are updated, the user message in parse_options() should also be 
updated
-#define REQUEST_CONNECT        0
-#define REQUEST_GET_PWD        1
-
-#define MAX_RECV_TRIES 10
-
 // Holds integers which indicate various options
 struct extras {
        int     request_type;

Other related posts:

  • » [pisa-src] r1801 - in trunk/pairing: send.c send.h - Diego Biurrun