gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8768 - GNUnet/src/include


From: gnunet
Subject: [GNUnet-SVN] r8768 - GNUnet/src/include
Date: Tue, 21 Jul 2009 12:09:18 -0600

Author: nevans
Date: 2009-07-21 12:09:18 -0600 (Tue, 21 Jul 2009)
New Revision: 8768

Modified:
   GNUnet/src/include/dht.h
   GNUnet/src/include/fs.h
   GNUnet/src/include/gnunet_chat_lib.h
   GNUnet/src/include/gnunet_dht_lib.h
   GNUnet/src/include/gnunet_util_common.h
   GNUnet/src/include/gnunet_util_core.h
   GNUnet/src/include/gnunet_util_crypto.h
   GNUnet/src/include/gnunet_util_network.h
Log:
pre-commit, whitespace

Modified: GNUnet/src/include/dht.h
===================================================================
--- GNUnet/src/include/dht.h    2009-07-21 18:07:40 UTC (rev 8767)
+++ GNUnet/src/include/dht.h    2009-07-21 18:09:18 UTC (rev 8768)
@@ -55,7 +55,7 @@
 
   GNUNET_MessageHeader header;
 
-  unsigned int type GNUNET_PACKED;            /* nbo */
+  unsigned int type GNUNET_PACKED;      /* nbo */
 
   GNUNET_HashCode key GNUNET_PACKED;
 
@@ -71,7 +71,7 @@
 
   GNUNET_MessageHeader header;
 
-  unsigned int type GNUNET_PACKED;            /* nbo */
+  unsigned int type GNUNET_PACKED;      /* nbo */
 
   GNUNET_HashCode key GNUNET_PACKED;
 

Modified: GNUnet/src/include/fs.h
===================================================================
--- GNUnet/src/include/fs.h     2009-07-21 18:07:40 UTC (rev 8767)
+++ GNUnet/src/include/fs.h     2009-07-21 18:09:18 UTC (rev 8768)
@@ -314,7 +314,7 @@
   /**
    * Always zero (for now).
    */
-  unsigned int reserved GNUNET_PACKED;        /* for 64-bit alignment */
+  unsigned int reserved GNUNET_PACKED;  /* for 64-bit alignment */
 
   /**
    * When does this result expire?  The given time

Modified: GNUnet/src/include/gnunet_chat_lib.h
===================================================================
--- GNUnet/src/include/gnunet_chat_lib.h        2009-07-21 18:07:40 UTC (rev 
8767)
+++ GNUnet/src/include/gnunet_chat_lib.h        2009-07-21 18:09:18 UTC (rev 
8768)
@@ -70,7 +70,7 @@
   GNUNET_CHAT_MSG_AUTHENTICATED = 4,
 
   /**
-   * Require signed acknowledgement before
+   * Require signed acknowledgment before
    * completing delivery (and of course, only
    * acknowledge if delivery is guaranteed).
    */

Modified: GNUnet/src/include/gnunet_dht_lib.h
===================================================================
--- GNUnet/src/include/gnunet_dht_lib.h 2009-07-21 18:07:40 UTC (rev 8767)
+++ GNUnet/src/include/gnunet_dht_lib.h 2009-07-21 18:09:18 UTC (rev 8768)
@@ -118,7 +118,7 @@
  * @return number of connections
  */
 unsigned long long
-GNUNET_DHT_test_connected(struct GNUNET_ClientServerConnection *sock);
+GNUNET_DHT_test_connected (struct GNUNET_ClientServerConnection *sock);
 
 #if 0                           /* keep Emacsens' auto-indent happy */
 {

Modified: GNUnet/src/include/gnunet_util_common.h
===================================================================
--- GNUnet/src/include/gnunet_util_common.h     2009-07-21 18:07:40 UTC (rev 
8767)
+++ GNUnet/src/include/gnunet_util_common.h     2009-07-21 18:09:18 UTC (rev 
8768)
@@ -42,7 +42,7 @@
 /**
  * gcc-ism to get packed structs.
  */
-#define GNUNET_PACKED __attribute__((packed)) 
+#define GNUNET_PACKED __attribute__((packed))
 
 
 /**

Modified: GNUnet/src/include/gnunet_util_core.h
===================================================================
--- GNUnet/src/include/gnunet_util_core.h       2009-07-21 18:07:40 UTC (rev 
8767)
+++ GNUnet/src/include/gnunet_util_core.h       2009-07-21 18:09:18 UTC (rev 
8768)
@@ -1,22 +1,22 @@
  /*
-     This file is part of GNUnet.
-     (C) 2007 Christian Grothoff (and other contributing authors)
+    This file is part of GNUnet.
+    (C) 2007 Christian Grothoff (and other contributing authors)
 
-     GNUnet is free software; you can redistribute it and/or modify
-     it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
-     option) any later version.
+    GNUnet is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published
+    by the Free Software Foundation; either version 2, or (at your
+    option) any later version.
 
-     GNUnet 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
-     General Public License for more details.
+    GNUnet 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
+    General Public License for more details.
 
-     You should have received a copy of the GNU General Public License
-     along with GNUnet; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
-*/
+    You should have received a copy of the GNU General Public License
+    along with GNUnet; see the file COPYING.  If not, write to the
+    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+    Boston, MA 02111-1307, USA.
+  */
 
 /**
  * @file include/gnunet_util_core.h

Modified: GNUnet/src/include/gnunet_util_crypto.h
===================================================================
--- GNUnet/src/include/gnunet_util_crypto.h     2009-07-21 18:07:40 UTC (rev 
8767)
+++ GNUnet/src/include/gnunet_util_crypto.h     2009-07-21 18:09:18 UTC (rev 
8768)
@@ -93,13 +93,13 @@
    * Total size of the structure, in bytes, in big-endian!
    */
   unsigned short len GNUNET_PACKED;
-  unsigned short sizen GNUNET_PACKED;         /*  in big-endian! */
-  unsigned short sizee GNUNET_PACKED;         /*  in big-endian! */
-  unsigned short sized GNUNET_PACKED;         /*  in big-endian! */
-  unsigned short sizep GNUNET_PACKED;         /*  in big-endian! */
-  unsigned short sizeq GNUNET_PACKED;         /*  in big-endian! */
-  unsigned short sizedmp1 GNUNET_PACKED;      /*  in big-endian! */
-  unsigned short sizedmq1 GNUNET_PACKED;      /*  in big-endian! */
+  unsigned short sizen GNUNET_PACKED;   /*  in big-endian! */
+  unsigned short sizee GNUNET_PACKED;   /*  in big-endian! */
+  unsigned short sized GNUNET_PACKED;   /*  in big-endian! */
+  unsigned short sizep GNUNET_PACKED;   /*  in big-endian! */
+  unsigned short sizeq GNUNET_PACKED;   /*  in big-endian! */
+  unsigned short sizedmp1 GNUNET_PACKED;        /*  in big-endian! */
+  unsigned short sizedmq1 GNUNET_PACKED;        /*  in big-endian! */
   /* followed by the actual values */
 } GNUNET_RSA_PrivateKeyEncoded;
 

Modified: GNUnet/src/include/gnunet_util_network.h
===================================================================
--- GNUnet/src/include/gnunet_util_network.h    2009-07-21 18:07:40 UTC (rev 
8767)
+++ GNUnet/src/include/gnunet_util_network.h    2009-07-21 18:09:18 UTC (rev 
8768)
@@ -313,10 +313,13 @@
  * The OS socket should henceforth be no longer used
  * directly.  GNUNET_socket_destroy will close it.
  */
-struct GNUNET_SocketHandle *
-GNUNET_socket_create_connect_to_host (struct GNUNET_LoadMonitor *mon, 
-                                     const char *hostname,
-                                     unsigned short port);
+struct GNUNET_SocketHandle *GNUNET_socket_create_connect_to_host (struct
+                                                                  
GNUNET_LoadMonitor
+                                                                  *mon,
+                                                                  const char
+                                                                  *hostname,
+                                                                  unsigned
+                                                                  short port);
 
 /**
  * Close the socket (does NOT destroy it)
@@ -402,7 +405,8 @@
  * @param address IP address of the remote peer, freed by caller
  * @return GNUNET_YES on success, GNUNET_SYSERR otherwise
  */
-int GNUNET_socket_getpeername_string(struct GNUNET_SocketHandle *s, char 
**address);
+int GNUNET_socket_getpeername_string (struct GNUNET_SocketHandle *s,
+                                      char **address);
 
 
 /* ********************* select operations **************** */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]