|  |  |  | Libgtop Reference Manual |  | 
|---|---|---|---|---|
#include <glibtop/ppp.h> #define GLIBTOP_PPP_STATE #define GLIBTOP_PPP_BYTES_IN #define GLIBTOP_PPP_BYTES_OUT #define GLIBTOP_MAX_PPP glibtop_ppp; void glibtop_get_ppp (glibtop_ppp *buf, unsigned short device); #define glibtop_get_ppp_r void glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device); void glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device); void glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device);
typedef struct {
	guint64	flags;
	guint64 state;			/* GLIBTOP_PPP_STATE		*/
	guint64 bytes_in;		/* GLIBTOP_PPP_BYTES_IN		*/
	guint64 bytes_out;		/* GLIBTOP_PPP_BYTES_OUT	*/
} glibtop_ppp;
void glibtop_get_ppp (glibtop_ppp *buf, unsigned short device);
Get the PPP usage.
| 
 | A location to return the PPP usage shortdevice: The device to ask information | 
| 
 | 
void glibtop_get_ppp_l (glibtop *server, glibtop_ppp *buf, unsigned short device);
| 
 | |
| 
 | |
| 
 | 
void glibtop_get_ppp_p (glibtop *server, glibtop_ppp *buf, unsigned short device);
| 
 | |
| 
 | |
| 
 | 
void glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device);
| 
 | |
| 
 | |
| 
 |