Home
last modified time | relevance | path

Searched refs:chansess (Results 1 – 9 of 9) sorted by relevance

/dports/security/dropbear/dropbear-2020.81/
H A Dsvr-chansession.c249 chansess->cmd = NULL; in newchansess()
252 chansess->pid = 0; in newchansess()
327 if (chansess->tty) { in cleanupchansess()
347 if (svr_ses.childpids[i].chansess == chansess) { in cleanupchansess()
356 m_free(chansess); in cleanupchansess()
697 chansess->original_command = chansess->cmd; in sessioncommand()
756 &chansess->pid); in noptycommand()
766 addchildpid(chansess, chansess->pid); in noptycommand()
805 if (chansess->master == -1 || chansess->tty == NULL) { in ptycommand()
830 pty_make_controlling_tty(&chansess->slave, chansess->tty); in ptycommand()
[all …]
H A Dsvr-x11fwd.c96 if (chansess->x11port < 0) { in x11req()
111 chansess->x11listener = new_listener( &fd, 1, 0, chansess, x11accept, NULL); in x11req()
120 m_free(chansess->x11authprot); in x11req()
121 m_free(chansess->x11authcookie); in x11req()
145 if (chansess->x11singleconn) { in x11accept()
146 x11cleanup(chansess); in x11accept()
169 chansess->x11port - X11BASEPORT, chansess->x11screennum); in x11setauth()
179 chansess->x11port - X11BASEPORT, chansess->x11screennum); in x11setauth()
189 display, chansess->x11authprot, chansess->x11authcookie); in x11setauth()
198 m_free(chansess->x11authprot); in x11cleanup()
[all …]
H A Dsvr-agentfwd.c83 chansess->agentlistener = new_listener( &fd, 1, 0, chansess, in svr_agentreq()
95 svr_agentcleanup(chansess); in svr_agentreq()
131 len = strlen(chansess->agentdir) + strlen(chansess->agentfile) + 2; in svr_agentset()
134 snprintf(path, len, "%s/%s", chansess->agentdir, chansess->agentfile); in svr_agentset()
149 chansess->agentlistener = NULL; in svr_agentcleanup()
152 if (chansess->agentfile != NULL && chansess->agentdir != NULL) { in svr_agentcleanup()
166 len = strlen(chansess->agentdir) + strlen(chansess->agentfile) + 2; in svr_agentcleanup()
169 snprintf(path, len, "%s/%s", chansess->agentdir, chansess->agentfile); in svr_agentcleanup()
173 rmdir(chansess->agentdir); in svr_agentcleanup()
182 m_free(chansess->agentfile); in svr_agentcleanup()
[all …]
H A Dsvr-authpubkeyoptions.c93 void svr_pubkey_set_forced_command(struct ChanSess *chansess) { in svr_pubkey_set_forced_command() argument
96 if (chansess->cmd) { in svr_pubkey_set_forced_command()
98 chansess->original_command = chansess->cmd; in svr_pubkey_set_forced_command()
99 chansess->cmd = NULL; in svr_pubkey_set_forced_command()
101 chansess->original_command = m_strdup(""); in svr_pubkey_set_forced_command()
103 chansess->cmd = m_strdup(ses.authstate.pubkey_options->forced_command); in svr_pubkey_set_forced_command()
105 dropbear_log(LOG_INFO, "Command forced to '%s'", chansess->original_command); in svr_pubkey_set_forced_command()
H A Dx11fwd.h32 int x11req(struct ChanSess * chansess);
33 void x11setauth(const struct ChanSess *chansess);
34 void x11cleanup(struct ChanSess *chansess);
H A Dagentfwd.h60 int svr_agentreq(struct ChanSess * chansess);
61 void svr_agentcleanup(struct ChanSess * chansess);
62 void svr_agentset(const struct ChanSess *chansess);
H A Dauth.h49 void svr_pubkey_set_forced_command(struct ChanSess *chansess);
58 static inline void svr_pubkey_set_forced_command(struct ChanSess *chansess) { } in svr_pubkey_set_forced_command() argument
H A Dchansession.h82 struct ChanSess * chansess; member
/dports/irc/hexchat/hexchat-2.16.0/src/common/
H A Dctcp.c92 session *chansess; in ctcp_handle() local
161 chansess = find_channel (sess->server, to); in ctcp_handle()
162 if (!chansess) in ctcp_handle()
163 chansess = sess; in ctcp_handle()
165 EMIT_SIGNAL_TIMESTAMP (XP_TE_CTCPSNDC, chansess, word[5], in ctcp_handle()
196 chansess = find_channel (sess->server, to); in ctcp_handle()
197 if (!chansess) in ctcp_handle()
198 chansess = sess; in ctcp_handle()
199 EMIT_SIGNAL_TIMESTAMP (XP_TE_CTCPGENC, chansess, msg, nick, to, NULL, 0, in ctcp_handle()