pptpd
if (pptpd_init(&_this->pptpd) != 0)
pptpd_stop(&_this->pptpd);
if (!pptpd_is_stopped(&_this->pptpd))
pptpd_uninit(&_this->pptpd);
rval |= pptpd_reload(&_this->pptpd, &_this->conf.pptp_confs);
pptpd pptpd;
#define pptpd_is_stopped(pptpd) \
(((pptpd)->state != PPTPD_STATE_SHUTTING_DOWN && \
(pptpd)->state != PPTPD_STATE_RUNNING)? 1 : 0)
#define pptpd_is_shutting_down(pptpd) \
(((pptpd)->state == PPTPD_STATE_SHUTTING_DOWN)? 1 : 0)
((pptpd_listener *)slist_get(&(ctrl)->pptpd->listener,\
((pptpd_listener *)slist_get(&(ctrl)->pptpd->listener,\
((pptpd_listener *)slist_get(&(ctrl)->pptpd->listener, \
pptpd *pptpd; /* parents */
int pptpd_init (pptpd *);
void pptpd_uninit (pptpd *);
int pptpd_assign_call (pptpd *, pptp_call *);
void pptpd_release_call (pptpd *, pptp_call *);
int pptpd_start (pptpd *);
void pptpd_stop (pptpd *);
void pptpd_stop_immediatly (pptpd *);
void pptpd_ctrl_finished_notify(pptpd *, pptp_ctrl *);
int pptpd_add_listener(pptpd *, int, struct pptp_conf *, struct sockaddr *);
int pptpd_reload(pptpd *, struct pptp_confs *);
pptpd_release_call(_this->ctrl->pptpd, _this);
if (pptpd_assign_call(_this->ctrl->pptpd, _this) != 0) {
_this->ctrl->pptpd->id, _this->ctrl->id, _this->id, fmt);
_this->pptpd->id, _this->id, fmt);
pptpd_ctrl_finished_notify(_this->pptpd, _this);
memset(_this, 0, sizeof(pptpd));
pptpd_add_listener(pptpd *_this, int idx, struct pptp_conf *conf,
pptpd_uninit(pptpd *_this)
pptpd_assign_call(pptpd *_this, pptp_call *call)
pptpd_release_call(pptpd *_this, pptp_call *call)
pptpd_start(pptpd *_this)
pptpd_close_gre(pptpd *_this)
pptpd_close_1723(pptpd *_this)
pptpd_stop_immediatly(pptpd *_this)
pptpd *_this;
pptpd_stop(pptpd *_this)
pptpd_reload(pptpd *_this, struct pptp_confs *pptp_conf)
pptpd *_this;
pptpd *_this;
pptpd *_this;
pptp_ctrl_start_by_pptpd(pptpd *_this, int sock, int listener_index,
static void pptpd_log (pptpd *, int, const char *, ...) __printflike(3,4);
ctrl->pptpd = _this;
static void pptpd_close_gre (pptpd *);
static void pptpd_close_1723 (pptpd *);
pptpd_ctrl_finished_notify(pptpd *_this, pptp_ctrl *ctrl)
static void pptp_ctrl_start_by_pptpd (pptpd *, int, int, struct sockaddr *);
pptpd_log(pptpd *_this, int prio, const char *fmt, ...)
pptpd_init(pptpd *_this)