summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/lldp-tlv.c
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-07-10 18:43:12 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-10-02 17:39:12 +0200
commit176c355b43e616b61552566303ad59d5fd910333 (patch)
tree9198ba7be4f24b643ef9c24b8e1d01b421fb4b3b /src/libsystemd-network/lldp-tlv.c
parent97030a86f0137bca52c3cf9b30e5ed3bdf69b2f2 (diff)
lldp: export opaque TLV type and accessor functions
Export struct tlv_packet as a public opaque sd_lldp_packet type and make its accessor functions public.
Diffstat (limited to 'src/libsystemd-network/lldp-tlv.c')
-rw-r--r--src/libsystemd-network/lldp-tlv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/lldp-tlv.c b/src/libsystemd-network/lldp-tlv.c
index 1370d217f4..700da2fde7 100644
--- a/src/libsystemd-network/lldp-tlv.c
+++ b/src/libsystemd-network/lldp-tlv.c
@@ -61,7 +61,7 @@ int tlv_packet_new(tlv_packet **ret) {
return 0;
}
-tlv_packet *tlv_packet_ref(tlv_packet *m) {
+tlv_packet *sd_lldp_packet_ref(tlv_packet *m) {
if (!m)
return NULL;
@@ -72,7 +72,7 @@ tlv_packet *tlv_packet_ref(tlv_packet *m) {
return m;
}
-tlv_packet *tlv_packet_unref(tlv_packet *m) {
+tlv_packet *sd_lldp_packet_unref(tlv_packet *m) {
tlv_section *s, *n;
if (!m)