Lines Matching defs:pre
101 /* Per-channel callback for pre/post IO actions */
2535 chan_fn **pre, **post;
2537 if ((pre = calloc(SSH_CHANNEL_MAX_TYPE, sizeof(*pre))) == NULL ||
2541 pre[SSH_CHANNEL_OPEN] = &channel_pre_open;
2542 pre[SSH_CHANNEL_X11_OPEN] = &channel_pre_x11_open;
2543 pre[SSH_CHANNEL_PORT_LISTENER] = &channel_pre_listener;
2544 pre[SSH_CHANNEL_RPORT_LISTENER] = &channel_pre_listener;
2545 pre[SSH_CHANNEL_UNIX_LISTENER] = &channel_pre_listener;
2546 pre[SSH_CHANNEL_RUNIX_LISTENER] = &channel_pre_listener;
2547 pre[SSH_CHANNEL_X11_LISTENER] = &channel_pre_listener;
2548 pre[SSH_CHANNEL_AUTH_SOCKET] = &channel_pre_listener;
2549 pre[SSH_CHANNEL_CONNECTING] = &channel_pre_connecting;
2550 pre[SSH_CHANNEL_DYNAMIC] = &channel_pre_dynamic;
2551 pre[SSH_CHANNEL_RDYNAMIC_FINISH] = &channel_pre_connecting;
2552 pre[SSH_CHANNEL_MUX_LISTENER] = &channel_pre_listener;
2553 pre[SSH_CHANNEL_MUX_CLIENT] = &channel_pre_mux_client;
2568 sc->channel_pre = pre;