npppd_ctl
struct npppd_ctl
void npppd_ctl_destroy(struct npppd_ctl *);
int npppd_ctl_who(struct npppd_ctl *);
int npppd_ctl_monitor(struct npppd_ctl *);
int npppd_ctl_who_and_monitor(struct npppd_ctl *);
int npppd_ctl_add_started_ppp_id(struct npppd_ctl *, uint32_t);
int npppd_ctl_add_stopped_ppp(struct npppd_ctl *, npppd_ppp *);
int npppd_ctl_imsg_compose(struct npppd_ctl *, struct imsgbuf *);
int npppd_ctl_disconnect(struct npppd_ctl *, u_int *, int);
npppd_ctl_who_and_monitor(struct npppd_ctl *_this)
npppd_ctl_who0(struct npppd_ctl *_this, bool is_monitoring)
npppd_ctl_add_started_ppp_id(struct npppd_ctl *_this, u_int ppp_id)
npppd_ctl_add_stopped_ppp(struct npppd_ctl *_this, npppd_ppp *ppp)
struct npppd_ctl *_this = ctx;
npppd_ctl_disconnect(struct npppd_ctl *_this, u_int *ppp_id, int count)
npppd_ctl_imsg_compose(struct npppd_ctl *_this, struct imsgbuf *ibuf)
static int npppd_ctl_who0 (struct npppd_ctl *, bool);
struct npppd_ctl *
struct npppd_ctl *ctl;
if ((ctl = calloc(1, sizeof(struct npppd_ctl))) == NULL)
npppd_ctl_destroy(struct npppd_ctl *_this)
npppd_ctl_who(struct npppd_ctl *_this)
npppd_ctl_monitor(struct npppd_ctl *_this)