]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib/private.h: rename to atom.h
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 1 Apr 2015 09:08:05 +0000 (12:08 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 2 Apr 2015 07:14:14 +0000 (10:14 +0300)
Makes sense to have it named like this now.
Would have been a bit nicer to do it earlier, but now should be fine too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
14 files changed:
src/lib/Makefile.am
src/lib/atom-private.c
src/lib/atom.c
src/lib/atom.h [moved from src/lib/private.h with 100% similarity]
src/lib/atoms/config.c
src/lib/atoms/dot1.c
src/lib/atoms/dot3.c
src/lib/atoms/interface.c
src/lib/atoms/med.c
src/lib/atoms/mgmt.c
src/lib/atoms/port.c
src/lib/connection.c
src/lib/errors.c
src/lib/helpers.c

index ac9160582d83dd36cedebbe1c5f38327f576782a..0bbd33683c0d091437f1a464e91e8ee711a52e1b 100644 (file)
@@ -9,7 +9,7 @@ noinst_LTLIBRARIES = libfixedpoint.la
 libfixedpoint_la_SOURCES = fixedpoint.h fixedpoint.c
 
 liblldpctl_la_SOURCES = \
-       lldpctl.h private.h errors.c connection.c atom.c helpers.c helpers.h \
+       lldpctl.h atom.h errors.c connection.c atom.c helpers.c helpers.h \
        atom-private.c \
        atoms/config.c atoms/dot1.c atoms/dot3.c \
        atoms/interface.c atoms/med.c atoms/mgmt.c atoms/port.c
index 13bfcf778fcceace26c13486e80536952afd2771..4fbebd4cade6469b794d53c9e78c143585d4014d 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "fixedpoint.h"
 
 static lldpctl_map_t empty_map[] = {{ 0, NULL }};
index 1d7c741ec3a8ed411fc05a7bddbbc800bbab67cd..2e620e62194c3adffb945ae7da5e267bde281d51 100644 (file)
@@ -18,7 +18,7 @@
 #include <stdio.h>
 #include <string.h>
 #include "lldpctl.h"
-#include "private.h"
+#include "atom.h"
 #include "../marshal.h"
 #include "../ctl.h"
 #include "../lldpd-structs.h"
similarity index 100%
rename from src/lib/private.h
rename to src/lib/atom.h
index b85bb9888674d1309002979b0d38f97a8378ac7f..46388c36c24d8d5da949f1e6394ae3f62be65b37 100644 (file)
@@ -23,7 +23,7 @@
 #include "../lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 static struct atom_map bond_slave_src_mac_map = {
index 45f2ad8af285c68f9beca2d7f7f2c3b1e496b428..b78aaa495d70b8d6b44c6e02ae956c85e05c0280 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 #ifdef ENABLE_DOT1
index be2829d9a33005c957e3b224ec036044eb11b817..d3fced95d98706d0395479de6bd147ad4ae86a84 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 #ifdef ENABLE_DOT3
index 3415f49d33c35f389a58de55f278d42f8ad18c4b..cd0b5ca47c4e3fbe186d7fcb90cd89d17945014f 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 static int
index 11a79b421bb539fecb72f0652737423154991baa..905f81464ffcacf52da2b160fc2d8bef7e3c3019 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 #include "fixedpoint.h"
 
index 5e2aff7d45f3961e90bfdf93767a6d13158572b9..538893a08e8f2296586e8f5d67eea17743a289fa 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 static int
index 4d46d0bf0a95e3c9d3a8cc0d9d5688f923d0babf..bfa6a18da6c335be941528a63f8fd5aa6f817c1e 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 static struct atom_map lldpd_protocol_map = {
index 5aa4c5104247958e39ddfaf674c9a5c11b6656a7..a47cdfa9b26dcf3d4e43c3b42ff8d4b5d380c19f 100644 (file)
@@ -22,7 +22,7 @@
 #include <sys/un.h>
 
 #include "lldpctl.h"
-#include "private.h"
+#include "atom.h"
 #include "../compat/compat.h"
 #include "../ctl.h"
 #include "../log.h"
index 140630b6a0cdfd6065dbda8e0ae044b8d79e43b7..33860b1b6e66dd8453571f5d923b7348d52fef7a 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include "lldpctl.h"
-#include "private.h"
+#include "atom.h"
 #include "../log.h"
 
 const char*
index 04967ebf69c60979fcee6c5f2c9c419a1c9fba0c..a45f31ef7179a45d5f28a32662290890cffd5b2b 100644 (file)
@@ -23,7 +23,7 @@
 #include "lldpctl.h"
 #include "../lldpd-structs.h"
 #include "../log.h"
-#include "private.h"
+#include "atom.h"
 #include "helpers.h"
 
 const char*