Net List
Net List
— Network Devices List.
Stability Level
Stable, unless otherwise indicated
Includes
#include <glibtop/netlist.h>
Description
The application class handles ...
Functions
glibtop_get_netlist ()
char **
glibtop_get_netlist (glibtop_netlist *buf
);
Returns
an array of network
interface names.
[array zero-terminated=1][transfer full]
glibtop_get_netlist_l ()
char **
glibtop_get_netlist_l (glibtop *server
,
glibtop_netlist *buf
);
Returns
an array of network
interface names.
[array zero-terminated=1][transfer full]
glibtop_get_netlist_p ()
char **
glibtop_get_netlist_p (glibtop *server
,
glibtop_netlist *buf
);
Returns
an array of network
interface names.
[array zero-terminated=1][transfer full]
glibtop_get_netlist_s ()
char **
glibtop_get_netlist_s (glibtop *server
,
glibtop_netlist *buf
);
Returns
an array of network
interface names.
[array zero-terminated=1][transfer full]
Types and Values
GLIBTOP_NETLIST_NUMBER
#define GLIBTOP_NETLIST_NUMBER 0
GLIBTOP_MAX_NETLIST
#define GLIBTOP_MAX_NETLIST 1
struct glibtop_netlist
struct glibtop_netlist {
guint64 flags;
guint32 number;
};
glibtop_get_netlist_r
#define glibtop_get_netlist_r glibtop_get_netlist_p