]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: bump library version
authorVincent Bernat <vincent@bernat.ch>
Sat, 7 Dec 2024 10:39:38 +0000 (11:39 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sat, 7 Dec 2024 10:39:38 +0000 (11:39 +0100)
Also fix versioning of lldpctl_watch_sync_unblock. And add a NEWS entry.

NEWS
src/lib/Makefile.am
src/lib/lldpctl.h
src/lib/lldpctl.map

diff --git a/NEWS b/NEWS
index 828248b95d95f666a3219017fdf8c269c23f50c8..5d26cfd8c4f116adb55617746c9783e34c761c74 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ lldpd (1.0.19)
    + Disable LLDP in firmware for Intel X7xx cards on FreeBSD.
    + Do not query stats for a down interface on Linux.
    + Fix AppArmor policy for /run/lldpd/lldpd.socket.lock.
+   + Add lldpctl_watch_sync_unblock to liblldpctl.
 
 lldpd (1.0.18)
  * Changes (breaking):
index c1a6d819ba90b2d7e0d79453e4d2b5fd022fd937..f7dbb0335664f2b510ca673a60b9c789b345d62d 100644 (file)
@@ -56,7 +56,7 @@ CLEANFILES = atom-glue.c
 # -version-number could be computed from -version-info, mostly major
 # is `current` - `age`, minor is `age` and revision is `revision' and
 # major.minor should be used when updating lldpctl.map.
-liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 13:1:9
+liblldpctl_la_LDFLAGS = $(AM_LDFLAGS) -version-info 14:0:10
 liblldpctl_la_DEPENDENCIES = libfixedpoint.la
 
 if HAVE_LD_VERSION_SCRIPT
index 364c760a129970321e2d5430b6703a159f522363..6c293796493a3c30fac233e364c18c0643f0b709 100644 (file)
@@ -551,12 +551,14 @@ int lldpctl_watch_callback2(lldpctl_conn_t *conn, lldpctl_change_callback2 cb,
 int lldpctl_watch(lldpctl_conn_t *conn);
 
 /**
- * Unblock another thread that's waiting for the next change on that synchronous callback connection.
+ * Unblock another thread that's waiting for the next change on that synchronous
+ * callback connection.
  *
  * @param conn Synchronous callback connection with lldpd.
  *
- * If some thread is blocked at @ref lldpctl_watch() with the same synchronous callback @p conn,
- * then this function will unblock it. Otherwise, this function will have no effect.
+ * If some thread is blocked at @ref lldpctl_watch() with the same synchronous
+ * callback @p conn, then this function will unblock it. Otherwise, this
+ * function will have no effect. This function is signal-safe.
  */
 void lldpctl_watch_sync_unblock(lldpctl_conn_t *conn);
 
index 4c0f202d1d6f5e9ac6f3742e91c9beaf1b97553a..f9c3c1b2de1cc1a782a135c4ce1bcd12aa334020 100644 (file)
@@ -1,3 +1,8 @@
+LIBLLDPCTL_4.10 {
+ global:
+  lldpctl_watch_sync_unblock;
+};
+
 LIBLLDPCTL_4.9 {
  global:
   lldpctl_watch_callback2;
@@ -47,7 +52,6 @@ LIBLLDPCTL_4.6 {
   lldpctl_strerror;
   lldpctl_watch;
   lldpctl_watch_callback;
-  lldpctl_watch_sync_unblock;
 
  local:
   *;