Blame src/core/devices/nm-lldp-listener.h
|
Packit Service |
5ffa24 |
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
Packit Service |
5ffa24 |
/*
|
|
Packit Service |
5ffa24 |
* Copyright (C) 2015 Red Hat, Inc.
|
|
Packit Service |
5ffa24 |
*/
|
|
Packit Service |
5ffa24 |
|
|
Packit Service |
5ffa24 |
#ifndef __NM_LLDP_LISTENER__
|
|
Packit Service |
5ffa24 |
#define __NM_LLDP_LISTENER__
|
|
Packit Service |
5ffa24 |
|
|
Packit Bot |
c44df3 |
/*****************************************************************************/
|
|
Packit Service |
5ffa24 |
|
|
Packit Bot |
c44df3 |
typedef void (*NMLldpListenerNotify)(NMLldpListener *self, gpointer user_data);
|
|
Packit Bot |
c44df3 |
|
|
Packit Bot |
c44df3 |
NMLldpListener *nm_lldp_listener_new(int ifindex,
|
|
Packit Bot |
c44df3 |
NMLldpListenerNotify notify_callback,
|
|
Packit Bot |
c44df3 |
gpointer notify_user_data,
|
|
Packit Bot |
c44df3 |
GError ** error);
|
|
Packit Bot |
c44df3 |
void nm_lldp_listener_destroy(NMLldpListener *self);
|
|
Packit Bot |
c44df3 |
|
|
Packit Bot |
c44df3 |
int nm_lldp_listener_get_ifindex(NMLldpListener *self);
|
|
Packit Service |
5ffa24 |
GVariant *nm_lldp_listener_get_neighbors(NMLldpListener *self);
|
|
Packit Service |
5ffa24 |
|
|
Packit Bot |
c44df3 |
/*****************************************************************************/
|
|
Packit Bot |
c44df3 |
|
|
Packit Service |
5ffa24 |
GVariant *nmtst_lldp_parse_from_raw(const guint8 *raw_data, gsize raw_len);
|
|
Packit Service |
5ffa24 |
|
|
Packit Service |
5ffa24 |
#endif /* __NM_LLDP_LISTENER__ */
|