]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
sd-lldp: hide internal details 1333/head
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Sep 2015 13:19:42 +0000 (15:19 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 22 Sep 2015 13:19:42 +0000 (15:19 +0200)
commit9ef61f2e4802abdb4a2853a82126420b1e77b419
treed4bb3f57e4b6828b9e8be1748a3dd2899481de63
parent8955cf0a4586010f913bb7e0f8d05f1fc116c246
sd-lldp: hide internal details

Currently, sd-lldp.h exports "UPDATE_INFO".. and defines it to a magic
constant '10'. This is completely bogus, so fix it to follow our coding
standards:

  - Prefix exported symbols by SD_LLDP_*

  - Define a separate event-enum for event types

  - Translate internal state to external event-types
src/libsystemd-network/sd-lldp.c
src/network/networkd-link.c
src/systemd/sd-lldp.h