ctl_cctx
static void new_state(struct ctl_cctx *, enum state);
static void start_read(struct ctl_cctx *);
static void stop_read(struct ctl_cctx *);
static void start_timer(struct ctl_cctx *);
static void stop_timer(struct ctl_cctx *);
static void touch_timer(struct ctl_cctx *);
struct ctl_cctx *
struct ctl_cctx *ctx;
ctl_endclient(struct ctl_cctx *ctx) {
ctl_command(struct ctl_cctx *ctx, const char *cmd, size_t len,
new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) {
start_write(struct ctl_cctx *ctx) {
destroy(struct ctl_cctx *ctx, int notify) {
error(struct ctl_cctx *ctx) {
new_state(struct ctl_cctx *ctx, enum state new_state) {
struct ctl_cctx *ctx = uap;
struct ctl_cctx *ctx = tran->ctx;
start_read(struct ctl_cctx *ctx) {
stop_read(struct ctl_cctx *ctx) {
struct ctl_cctx *ctx = uap;
start_timer(struct ctl_cctx *ctx) {
stop_timer(struct ctl_cctx *ctx) {
touch_timer(struct ctl_cctx *ctx) {
struct ctl_cctx *ctx = uap;
struct ctl_cctx * ctx;
static struct ctl_tran *new_tran(struct ctl_cctx *, ctl_clntdone, void *, int);
static void start_write(struct ctl_cctx *);
static void destroy(struct ctl_cctx *, int);
static void error(struct ctl_cctx *);
struct ctl_cctx;
typedef void (*ctl_clntdone)(struct ctl_cctx *, void *, const char *, u_int);
struct ctl_cctx * ctl_client(evContext, const struct sockaddr *, size_t,
void ctl_endclient(struct ctl_cctx *);
int ctl_command(struct ctl_cctx *, const char *, size_t,