[hipl-commit] [trunk] Rev 4749: lib: core: rename common_defines.h to common.h

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 9 Jun 2010 20:16:48 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 09/06/2010 at 20:16:48
Revision: 4749
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  lib: core: rename common_defines.h to common.h

Modified:
  R  lib/core/common_defines.h => lib/core/common.h
  M  firewall/esp_prot_api.c
  M  firewall/firewall.c
  M  firewall/firewall_defines.h
  M  firewall/user_ipsec_api.c
  M  firewall/user_ipsec_sadb.c
  M  hipd/cert.c
  M  hipd/close.c
  M  hipd/cookie.c
  M  hipd/esp_prot_light_update.c
  M  hipd/hip_socket.c
  M  hipd/hiprelay.c
  M  hipd/init.c
  M  hipd/input.c
  M  hipd/nat.c
  M  hipd/netdev.c
  M  hipd/nsupdate.c
  M  hipd/oppdb.c
  M  hipd/oppipdb.c
  M  hipd/output.c
  M  lib/core/builder.c
  M  lib/core/conf.c
  M  lib/core/debug.c
  M  lib/core/hashtree.c
  M  lib/core/message.c
  M  modules/heartbeat/hipd/heartbeat.c
  M  modules/heartbeat_update/hipd/hb_update.c
  M  modules/update/hipd/update.c
  M  lib/core/common.h

=== modified file 'firewall/esp_prot_api.c'
--- firewall/esp_prot_api.c     2010-06-01 15:10:45 +0000
+++ firewall/esp_prot_api.c     2010-06-09 17:16:05 +0000
@@ -32,7 +32,7 @@
 
 #include <openssl/sha.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/state.h"
 
 

=== modified file 'firewall/firewall.c'
--- firewall/firewall.c 2010-06-09 17:00:38 +0000
+++ firewall/firewall.c 2010-06-09 17:16:05 +0000
@@ -47,7 +47,7 @@
 
 #include "lib/core/builder.h"
 #include "lib/core/capability.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/debug.h"
 #include "lib/core/filemanip.h"
 #include "lib/core/hip_udp.h"

=== modified file 'firewall/firewall_defines.h'
--- firewall/firewall_defines.h 2010-06-08 07:28:34 +0000
+++ firewall/firewall_defines.h 2010-06-09 17:16:05 +0000
@@ -16,7 +16,7 @@
 #include <netinet/tcp.h>
 #include <netinet/udp.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/linkedlist.h"
 #include "lib/core/protodefs.h"
 #include "config.h"

=== modified file 'firewall/user_ipsec_api.c'
--- firewall/user_ipsec_api.c   2010-06-01 15:36:57 +0000
+++ firewall/user_ipsec_api.c   2010-06-09 17:16:05 +0000
@@ -25,7 +25,7 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/debug.h"
 #include "lib/core/ife.h"
 #include "lib/core/prefix.h"

=== modified file 'firewall/user_ipsec_sadb.c'
--- firewall/user_ipsec_sadb.c  2010-06-09 13:41:52 +0000
+++ firewall/user_ipsec_sadb.c  2010-06-09 17:16:05 +0000
@@ -23,7 +23,7 @@
 #include <sys/time.h>
 
 #include "lib/core/builder.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/debug.h"
 #include "lib/core/esp_prot_common.h"
 #include "lib/core/hashchain.h"

=== modified file 'hipd/cert.c'
--- hipd/cert.c 2010-06-09 17:00:38 +0000
+++ hipd/cert.c 2010-06-09 17:16:05 +0000
@@ -9,7 +9,7 @@
  */
 
 #include "cert.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 
 
 /****************************************************************************

=== modified file 'hipd/close.c'
--- hipd/close.c        2010-06-09 09:55:23 +0000
+++ hipd/close.c        2010-06-09 17:16:05 +0000
@@ -14,7 +14,7 @@
 
 #include "config.h"
 #include "close.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/performance.h"
 

=== modified file 'hipd/cookie.c'
--- hipd/cookie.c       2010-06-08 23:10:07 +0000
+++ hipd/cookie.c       2010-06-09 17:16:05 +0000
@@ -15,7 +15,7 @@
 
 #include "config.h"
 #include "cookie.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/solve.h"
 
 #define HIP_PUZZLE_MAX_LIFETIME 60 /* in seconds */

=== modified file 'hipd/esp_prot_light_update.c'
--- hipd/esp_prot_light_update.c        2010-06-08 23:10:07 +0000
+++ hipd/esp_prot_light_update.c        2010-06-09 17:16:05 +0000
@@ -16,7 +16,7 @@
 #include "esp_prot_anchordb.h"
 #include "hipd.h"
 #include "lib/core/builder.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hip_udp.h"
 
 /**

=== modified file 'hipd/hip_socket.c'
--- hipd/hip_socket.c   2010-06-08 23:10:07 +0000
+++ hipd/hip_socket.c   2010-06-09 17:16:05 +0000
@@ -13,7 +13,7 @@
 #include "hipd.h"
 #include "input.h"
 #include "pkt_handling.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 
 struct socketfd {
     uint16_t priority;

=== modified file 'hipd/hiprelay.c'
--- hipd/hiprelay.c     2010-06-09 15:28:30 +0000
+++ hipd/hiprelay.c     2010-06-09 17:16:05 +0000
@@ -80,7 +80,7 @@
 #include "config.h"
 #include "hiprelay.h"
 #include "output.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hip_udp.h"
 
 /** HIP relay config file default content. If the file @c HIP_RELAY_CONFIG_FILE

=== modified file 'hipd/init.c'
--- hipd/init.c 2010-06-09 09:55:23 +0000
+++ hipd/init.c 2010-06-09 17:16:05 +0000
@@ -29,7 +29,7 @@
 #include "hip_socket.h"
 #include "pkt_handling.h"
 #include "lib/core/capability.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/debug.h"
 #include "lib/core/filemanip.h"
 #include "lib/core/hostid.h"

=== modified file 'hipd/input.c'
--- hipd/input.c        2010-06-09 17:00:38 +0000
+++ hipd/input.c        2010-06-09 17:16:05 +0000
@@ -26,7 +26,7 @@
 #include "user.h"
 #include "keymat.h"
 #include "lib/core/builder.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/crypto.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/hostid.h"

=== modified file 'hipd/nat.c'
--- hipd/nat.c  2010-06-09 09:55:23 +0000
+++ hipd/nat.c  2010-06-09 17:16:05 +0000
@@ -35,7 +35,7 @@
 #include <netinet/in.h>
 
 #include "lib/core/debug.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "nat.h"
 #include "user.h"
 

=== modified file 'hipd/netdev.c'
--- hipd/netdev.c       2010-06-09 09:55:23 +0000
+++ hipd/netdev.c       2010-06-09 17:16:05 +0000
@@ -34,7 +34,7 @@
 #include "netdev.h"
 #include "maintenance.h"
 #include "lib/core/debug.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/conf.h"
 #include "lib/core/hostsfiles.h"
 #include "lib/core/hip_udp.h"

=== modified file 'hipd/nsupdate.c'
--- hipd/nsupdate.c     2010-06-09 09:55:23 +0000
+++ hipd/nsupdate.c     2010-06-09 17:16:05 +0000
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "hidb.h"
 #include "nsupdate.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hit.h"
 
 // parameters for nsupdate.pl

=== modified file 'hipd/oppdb.c'
--- hipd/oppdb.c        2010-06-09 11:45:06 +0000
+++ hipd/oppdb.c        2010-06-09 17:16:05 +0000
@@ -40,7 +40,7 @@
 #include "oppdb.h"
 #include "hadb.h"
 #include "accessor.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hit.h"
 
 #define HIP_LOCK_OPP_INIT(entry)

=== modified file 'hipd/oppipdb.c'
--- hipd/oppipdb.c      2010-06-09 11:45:06 +0000
+++ hipd/oppipdb.c      2010-06-09 17:16:05 +0000
@@ -12,7 +12,7 @@
  * @author  Alberto Garcia
  */
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "oppipdb.h"
 
 #define HIP_LOCK_OPPIP(entry)

=== modified file 'hipd/output.c'
--- hipd/output.c       2010-06-09 14:05:14 +0000
+++ hipd/output.c       2010-06-09 17:16:05 +0000
@@ -20,7 +20,7 @@
 
 #include "config.h"
 #include "output.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/performance.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/solve.h"

=== modified file 'lib/core/builder.c'
--- lib/core/builder.c  2010-06-04 08:43:21 +0000
+++ lib/core/builder.c  2010-06-09 17:16:05 +0000
@@ -71,7 +71,7 @@
 #include <math.h>
 #include <unistd.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/tool/checksum.h"
 #include "config.h"
 #include "builder.h"

=== modified file 'lib/core/conf.c'
--- lib/core/conf.c     2010-06-09 08:34:27 +0000
+++ lib/core/conf.c     2010-06-09 17:16:05 +0000
@@ -48,7 +48,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/tool/lutil.h"
 #include "config.h"
 #include "builder.h"

=== modified file 'lib/core/debug.c'
--- lib/core/debug.c    2010-06-09 17:00:38 +0000
+++ lib/core/debug.c    2010-06-09 17:16:05 +0000
@@ -56,7 +56,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/tool/lutil.h"
 #include "builder.h"
 #include "ife.h"

=== modified file 'lib/core/hashtree.c'
--- lib/core/hashtree.c 2010-06-01 15:27:54 +0000
+++ lib/core/hashtree.c 2010-06-09 17:16:05 +0000
@@ -16,7 +16,7 @@
 #include <openssl/rand.h>
 #include <math.h>
 
-#include "common_defines.h"
+#include "common.h"
 #include "hashtree.h"
 #include "ife.h"
 #include "debug.h"

=== modified file 'lib/core/message.c'
--- lib/core/message.c  2010-06-01 15:29:08 +0000
+++ lib/core/message.c  2010-06-09 17:16:05 +0000
@@ -67,7 +67,7 @@
 
 #include "lib/tool/nlink.h"
 #include "builder.h"
-#include "common_defines.h"
+#include "common.h"
 #include "debug.h"
 #include "hip_udp.h"
 #include "icomm.h"

=== modified file 'modules/heartbeat/hipd/heartbeat.c'
--- modules/heartbeat/hipd/heartbeat.c  2010-06-08 20:06:12 +0000
+++ modules/heartbeat/hipd/heartbeat.c  2010-06-09 17:16:05 +0000
@@ -43,7 +43,7 @@
 #include "hipd/init.h"
 #include "hipd/hip_socket.h"
 #include "hipd/pkt_handling.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/statistics.h"
 
 #define HIP_HEARTBEAT_INTERVAL 20

=== modified file 'modules/heartbeat_update/hipd/hb_update.c'
--- modules/heartbeat_update/hipd/hb_update.c   2010-06-08 20:13:43 +0000
+++ modules/heartbeat_update/hipd/hb_update.c   2010-06-09 17:16:05 +0000
@@ -17,7 +17,7 @@
 
 #include "hb_update.h"
 #include "hipd/maintenance.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "modules/update/hipd/update.h"
 
 static const int hip_heartbeat_trigger_update_threshold = 5;

=== modified file 'modules/update/hipd/update.c'
--- modules/update/hipd/update.c        2010-06-09 14:05:14 +0000
+++ modules/update/hipd/update.c        2010-06-09 17:16:05 +0000
@@ -14,7 +14,7 @@
 #include "update.h"
 
 #include "lib/core/builder.h"
-#include "lib/core/common_defines.h"
+#include "lib/core/common.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/performance.h"
 #include "lib/core/solve.h"

Other related posts:

  • » [hipl-commit] [trunk] Rev 4749: lib: core: rename common_defines.h to common.h - Mircea Gherzan