sd-lldp: hide internal information

Don't export constant that are only used internally.
This commit is contained in:
David Herrmann
2015-09-22 15:14:49 +02:00
parent e4c3b8e856
commit 8955cf0a45
2 changed files with 8 additions and 8 deletions
+8
View File
@@ -31,6 +31,14 @@
typedef struct lldp_port lldp_port;
typedef enum LLDPPortStatus {
LLDP_PORT_STATUS_NONE,
LLDP_PORT_STATUS_ENABLED,
LLDP_PORT_STATUS_DISABLED,
_LLDP_PORT_STATUS_MAX,
_LLDP_PORT_STATUS_INVALID = -1,
} LLDPPortStatus;
struct lldp_port {
LLDPPortStatus status;
-8
View File
@@ -32,14 +32,6 @@ enum {
UPDATE_INFO = 10,
};
typedef enum LLDPPortStatus {
LLDP_PORT_STATUS_NONE,
LLDP_PORT_STATUS_ENABLED,
LLDP_PORT_STATUS_DISABLED,
_LLDP_PORT_STATUS_MAX,
_LLDP_PORT_STATUS_INVALID = -1,
} LLDPPortStatus;
int sd_lldp_new(int ifindex, const char *ifname, const struct ether_addr *mac, sd_lldp **ret);
void sd_lldp_free(sd_lldp *lldp);