Home
last modified time | relevance | path

Searched refs:ctcp (Results 1 – 25 of 1002) sorted by relevance

12345678910>>...41

/dports/net/nanomsg/nanomsg-1.1.5/src/transports/tcp/
H A Dctcp.c209 nn_fsm_stop (&ctcp->fsm); in nn_ctcp_stop()
216 nn_dns_term (&ctcp->dns); in nn_ctcp_destroy()
217 nn_stcp_term (&ctcp->stcp); in nn_ctcp_destroy()
220 nn_fsm_term (&ctcp->fsm); in nn_ctcp_destroy()
222 nn_free (ctcp); in nn_ctcp_destroy()
228 struct nn_ctcp *ctcp; in nn_ctcp_shutdown() local
264 struct nn_ctcp *ctcp; in nn_ctcp_handler() local
268 switch (ctcp->state) { in nn_ctcp_handler()
322 nn_ctcp_start_connecting (ctcp, &ctcp->dns_result.addr, in nn_ctcp_handler()
347 nn_stcp_start (&ctcp->stcp, &ctcp->usock); in nn_ctcp_handler()
[all …]
/dports/irc/evangeline/evangeline/modules/ctcp.mod/
H A DMakefile13 static: ../ctcp.o
15 modules: ../ctcp.$(MOD_EXT)
17 ../ctcp.o:
19 @$(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/ctcp.c
20 @rm -f ../ctcp.o
21 @mv ctcp.o ../
23 ../ctcp.$(MOD_EXT): ../ctcp.o
24 @$(LD) -o ../ctcp.$(MOD_EXT) ../ctcp.o
25 @$(STRIP) ../ctcp.$(MOD_EXT)
28 @$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/ctcp.c > .depend
[all …]
/dports/irc/eggdrop/eggdrop-1.9.1/src/mod/ctcp.mod/help/set/
H A Dctcp.help1 %{help=set ctcp-finger}%{+n}
2 ### %bset ctcp-finger%b "<text>"
8 See also: set ctcp-version, set ctcp-userinfo
9 %{help=set ctcp-userinfo}%{+n}
10 ### %bset ctcp-userinfo%b "<text>"
13 See also: set ctcp-version, set ctcp-finger
14 %{help=set ctcp-version}%{+n}
15 ### %bset ctcp-version%b "<text>"
25 See also: set ctcp-finger, set ctcp-userinfo
26 %{help=set ctcp-mode}%{+n}
[all …]
/dports/irc/eggdrop/eggdrop-1.9.1/src/mod/ctcp.mod/
H A DMakefile12 static: ../ctcp.o
14 modules: ../../../ctcp.$(MOD_EXT)
16 ../ctcp.o:
17 $(CC) $(CFLAGS) $(CPPFLAGS) -DMAKING_MODS -c $(srcdir)/ctcp.c && mv -f ctcp.o ../
19 ../../../ctcp.$(MOD_EXT): ../ctcp.o
20 …$(LD) $(CFLAGS) -o ../../../ctcp.$(MOD_EXT) ../ctcp.o $(XLIBS) $(MODULE_XLIBS) && $(STRIP) ../../.…
23 $(CC) $(CFLAGS) -MM $(srcdir)/ctcp.c -MT ../ctcp.o > .depend
31 ../ctcp.o: .././ctcp.mod/ctcp.c .././ctcp.mod/ctcp.h \
/dports/net-im/matterbridge/matterbridge-1.22.3/vendor/github.com/lrstanley/girc/
H A Dctcp.go96 func EncodeCTCP(ctcp *CTCPEvent) (out string) {
97 if ctcp == nil {
101 return EncodeCTCPRaw(ctcp.Command, ctcp.Text)
206 c.Set(cmd, func(client *Client, ctcp CTCPEvent) {
207 go handler(client, ctcp)
234 type CTCPHandler func(client *Client, ctcp CTCPEvent)
247 func handleCTCPPing(client *Client, ctcp CTCPEvent) {
248 if ctcp.Reply {
251 client.Cmd.SendCTCPReply(ctcp.Source.ID(), CTCP_PING, ctcp.Text)
256 if ctcp.Reply {
[all …]
H A Devent.go354 if ctcp := DecodeCTCP(e); ctcp != nil {
355 if ctcp.Reply {
359 if ctcp.Command == CTCP_ACTION {
360 …[%s] **%s** %s", strings.Join(e.Params[0:len(e.Params)-1], ","), ctcp.Source.Name, ctcp.Text), true
363 …return fmt.Sprintf("[*] CTCP query from %s: %s%s", ctcp.Source.Name, ctcp.Command, " "+ctcp.Text),…
454 ok, ctcp := e.IsCTCP()
455 return ok && ctcp.Command == CTCP_ACTION
460 func (e *Event) IsCTCP() (ok bool, ctcp *CTCPEvent) {
461 ctcp = DecodeCTCP(e)
462 return ctcp != nil, ctcp
/dports/net/samba412/samba-4.12.15/ctdb/tcp/
H A Dtcp_connect.c482 close(ctcp->listen_fd); in ctdb_tcp_listen_automatic()
483 ctcp->listen_fd = -1; in ctdb_tcp_listen_automatic()
513 fde = tevent_add_fd(ctdb->ev, ctcp, ctcp->listen_fd, TEVENT_FD_READ, in ctdb_tcp_listen_automatic()
523 if (ctcp->listen_fd != -1) { in ctdb_tcp_listen_automatic()
524 close(ctcp->listen_fd); in ctdb_tcp_listen_automatic()
525 ctcp->listen_fd = -1; in ctdb_tcp_listen_automatic()
565 if (ctcp->listen_fd == -1) { in ctdb_tcp_listen()
586 fde = tevent_add_fd(ctdb->ev, ctcp, ctcp->listen_fd, TEVENT_FD_READ, in ctdb_tcp_listen()
593 if (ctcp->listen_fd != -1) { in ctdb_tcp_listen()
594 close(ctcp->listen_fd); in ctdb_tcp_listen()
[all …]
H A Dtcp_init.c189 static int tcp_ctcp_destructor(struct ctdb_tcp *ctcp)
191 ctcp->ctdb->transport_data = NULL;
192 ctcp->ctdb->methods = NULL;
203 struct ctdb_tcp *ctcp;
204 ctcp = talloc_zero(ctdb, struct ctdb_tcp);
205 CTDB_NO_MEMORY(ctdb, ctcp);
207 ctcp->listen_fd = -1;
208 ctcp->ctdb = ctdb;
209 ctdb->transport_data = ctcp;
212 talloc_set_destructor(ctcp, tcp_ctcp_destructor);
/dports/irc/eggdrop/eggdrop-1.9.1/doc/settings/
H A Dmod.ctcp5 This module provides the normal ctcp replies that you would expect.
10 Put this line into your Eggdrop configuration file to load the ctcp
13 loadmodule ctcp
17 set ctcp-mode 0
19 Set here how the ctcp module should answer ctcps. There are 3
29 than X ctcps in Y seconds (defined by 'set flood-ctcp').
33 They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set
/dports/irc/eggdrop/eggdrop-1.9.1/doc/sphinx_source/coreDocs/
H A Dctcp.rst9 This module provides the normal ctcp replies that you would expect.
14 Put this line into your Eggdrop configuration file to load the ctcp
17 loadmodule ctcp
21 set ctcp-mode 0
22 Set here how the ctcp module should answer ctcps. There are 3 possible
32 | | than X ctcps in Y seconds (defined by 'set flood-ctcp'). |
36 They are: ctcp-version, ctcp-finger, and ctcp-userinfo. You can use set
/dports/irc/ninja/ninja-1.5.8.1/source/
H A Dctcp.c304 CtcpEntry *ctcp; in do_crypto()
345 CtcpEntry *ctcp; in do_clientinfo()
384 CtcpEntry *ctcp; in do_version()
432 CtcpEntry *ctcp; in do_time()
449 CtcpEntry *ctcp; in do_userinfo()
464 CtcpEntry *ctcp; in do_echo()
476 CtcpEntry *ctcp; in do_finger()
540 CtcpEntry *ctcp; in do_atmosphere()
584 CtcpEntry *ctcp; in do_dcc()
617 CtcpEntry *ctcp; in do_utc()
[all …]
/dports/irc/ircII/ircii-20210314/doc/
H A Dctcp1 @(#)$eterna: ctcp,v 1.2 2001/08/12 15:42:27 mrg Exp $
10 ircII sends ctcp messages in the following format:
14 where <type> and <type-specific-data> are the ctcp request (version,
15 dcc, etc.) and any data supplied with the request. ctcp request
16 messages are always sent as an IRC PRIVMSG command. ctcp reply
22 in between. ircII strips the ctcp messages out, processes then,
25 ctcp quoting.
32 ^A \ a - ctcp message delimiter
47 [*] one possible way would be to define that the ctcp reply request
/dports/mail/thunderbird/thunderbird-91.8.0/comm/chat/protocols/irc/
H A DircCTCP.jsm8 * http://www.alien.net.au/irc/ctcp.txt
26 message.ctcp = {};
47 message.ctcp.param = "";
112 message.ctcp.rawMessage +
119 message.ctcp.rawMessage,
145 "/me " + aMessage.ctcp.param
154 aMessage.ctcp.param
205 aMessage.ctcp.param +
212 aMessage.ctcp.param
246 let time = aMessage.ctcp.param.slice(aMessage.ctcp.param[0] == ":");
[all …]
/dports/irc/epic5/epic5-2.1.6/script/
H A Dctcp7 @ctcpctl(SET VERSION REQUEST {ctcp $0 $2 ircII $J - $CLIENT_INFORMATION});
10 @ctcpctl(SET PING REQUEST {ctcp $0 $2 $3-});
38 @ctcpctl(SET ECHO REQUEST {ctcp $0 $2 $3-});
43 ctcp $0 $2 $ctcpctl(ALL)
45 ctcp $0 $2 $toupper($3) $ctcpctl(GET $3 DESCRIPTION)
51 @ctcpctl(SET USERINFO REQUEST {ctcp $0 $2 $USER_INFORMATION});
54 @ctcpctl(SET ERRMSG REQUEST {ctcp $0 $2 $3-});
74 ctcp $0 $2 $gecos \($user@$host\) Idle $idle second(s);
79 @ctcpctl(SET TIME REQUEST {ctcp $0 $2 $stime($time())});
/dports/irc/eggdrop/eggdrop-1.9.1/src/mod/ctcp.mod/help/
H A Dctcp.help1 %{help=ctcp module}%{+n}
3 This module provides the normal ctcp replies that you would expect. Without
6 Config file variables for configuring the ctcp module:
7 %bctcp-userinfo ctcp-finger ctcp-version%b
/dports/irc/scrollz/ScrollZ-ScrollZ-2.3/source/
H A Dctcp.c346 char *ctcp; in request()
429 CtcpEntry *ctcp; in do_invite()
498 CtcpEntry *ctcp; in do_op()
560 CtcpEntry *ctcp; in do_hop()
622 CtcpEntry *ctcp; in do_unban()
684 CtcpEntry *ctcp; in do_chops()
756 CtcpEntry *ctcp; in do_voice()
820 CtcpEntry *ctcp; in do_whoami()
885 CtcpEntry *ctcp; in do_help()
934 CtcpEntry *ctcp; in do_open()
[all …]
/dports/irc/unreal/Unreal3.2.10.7/src/modules/
H A Dm_message.c142 char *ctcp; in can_privmsg() local
159 if (myncmp(ctcp, "ACTION ", 7) && myncmp(ctcp, "DCC ", 4)) in can_privmsg()
746 char *ctcp; in check_dcc() local
754 ctcp = &text[1]; in check_dcc()
757 ctcp = text + 10; in check_dcc()
759 ctcp = text + 12; in check_dcc()
770 for (; (*ctcp == ' '); ctcp++); /* skip leading spaces */ in check_dcc()
772 if (*ctcp == '"' && *(ctcp+1)) in check_dcc()
834 char *ctcp; in check_dcc_soft() local
842 ctcp = &text[1]; in check_dcc_soft()
[all …]
/dports/irc/p5-Parse-IRC/Parse-IRC-1.22/lib/Parse/
H A DIRC.pm123 …if ( $self->{ctcp} and $event->{'command'} =~ /^(PRIVMSG|NOTICE)$/ and $event->{params}->[1] =~ tr…
148 my ($ctcp, $text) = _ctcp_dequote($msg);
150 if (!defined $ctcp) {
161 CTCP: for my $string ($ctcp->[0]) {
250 my (@chunks, $ctcp, $text);
281 push @$ctcp, shift @chunks;
286 push @$ctcp, shift @chunks if @chunks;
289 return ($ctcp, $text);
/dports/chinese/bitchx/bitchx-1.2.1/script/
H A Dlogger.bx18 …r.messages = [$logdir/messages];@ logdir.notices = [$logdir/notices];@ logdir.ctcp = [$logdir/ctcp]
29 …if (logsepdirs && fexist($logdir.ctcp) == -1) {${mkdir($logdir.ctcp)?[eval xecho -b mkdir failed $…
30 … && fexist($logdir.dcc) == -1) {${mkdir($logdir.dcc)?[eval xecho -b mkdir failed $logdir.ctcp]:[]}}
51 (h5) {@ logdir.ctcp = ([$1])?[$1]:[$logdir.ctcp]}
70 …if (logsepdirs) xecho -b [h5] CTCP log directory ............. ${logdir.ctcp?[$logdir.ctcp/]:…
92 @ write($savefile @ logdir.ctcp = [$logdir.ctcp])
142 on #-ctcp 6192 * {if (logctcps) {_logger ${logsepdirs?logdir.ctcp:logdir}/ctcp.log CTCP from $0\: $…
143 on #-ctcp_reply 6192 * {if (logctcps) {_logger ${logsepdirs?logdir.ctcp:logdir}/ctcp.log CTCP $1 re…
/dports/irc/bitchx/bitchx-1.2.1/script/
H A Dlogger.bx18 …r.messages = [$logdir/messages];@ logdir.notices = [$logdir/notices];@ logdir.ctcp = [$logdir/ctcp]
29 …if (logsepdirs && fexist($logdir.ctcp) == -1) {${mkdir($logdir.ctcp)?[eval xecho -b mkdir failed $…
30 … && fexist($logdir.dcc) == -1) {${mkdir($logdir.dcc)?[eval xecho -b mkdir failed $logdir.ctcp]:[]}}
51 (h5) {@ logdir.ctcp = ([$1])?[$1]:[$logdir.ctcp]}
70 …if (logsepdirs) xecho -b [h5] CTCP log directory ............. ${logdir.ctcp?[$logdir.ctcp/]:…
92 @ write($savefile @ logdir.ctcp = [$logdir.ctcp])
142 on #-ctcp 6192 * {if (logctcps) {_logger ${logsepdirs?logdir.ctcp:logdir}/ctcp.log CTCP from $0\: $…
143 on #-ctcp_reply 6192 * {if (logctcps) {_logger ${logsepdirs?logdir.ctcp:logdir}/ctcp.log CTCP $1 re…
/dports/japanese/tiarra/tiarra-20100212/module/CTCP/
H A DPing.pm23 my $ctcp = CTCP::extract($msg);
24 if (defined $ctcp && $ctcp =~ m/^PING/) {
30 $ctcp,
/dports/irc/ircII/ircii-20210314/source/
H A Dctcp.c321 send_ctcp_reply(from, ctcp->name, "%s %s", in do_clientinfo()
329 ctcp->name, cmd); in do_clientinfo()
341 send_ctcp_reply(from, ctcp->name, in do_clientinfo()
356 send_ctcp_reply(from, ctcp->name, "ircII user"); in do_version()
381 do_time(CtcpEntry *ctcp, u_char *from, u_char *to, u_char *cmd) in do_time() argument
388 send_ctcp_reply(from, ctcp->name, "%s", t); in do_time()
405 do_echo(CtcpEntry *ctcp, u_char *from, u_char *to, u_char *cmd) in do_echo() argument
408 send_ctcp_reply(from, ctcp->name, "%s", cmd); in do_echo()
416 send_ctcp_reply(from, ctcp->name, "ircII user"); in do_finger()
447 send_ctcp_reply(from, ctcp->name, in do_finger()
[all …]
/dports/net-im/telepathy-idle/telepathy-idle-0.2.0/src/
H A Didle-ctcp.c29 static const gchar *_ctcp_send(const gchar *send_cmd, const gchar *target, const gchar *ctcp, IdleC… in _ctcp_send() argument
34 for (iter = ctcp; *iter != '\0'; iter++) { in _ctcp_send()
79 const gchar *idle_ctcp_privmsg(const gchar *target, const gchar *ctcp, IdleConnection *conn) { in idle_ctcp_privmsg() argument
80 return _ctcp_send("PRIVMSG", target, ctcp, conn); in idle_ctcp_privmsg()
83 const gchar *idle_ctcp_notice(const gchar *target, const gchar *ctcp, IdleConnection *conn) { in idle_ctcp_notice() argument
84 return _ctcp_send("NOTICE", target, ctcp, conn); in idle_ctcp_notice()
/dports/irc/bnc/bnc2.9.4/
H A DMakefile.in9 bnc: bnc.o conf.o server.o cmds.o ctcp.o send.o sbuf.o Makefile
10 ${CC} -o bnc bnc.o conf.o server.o cmds.o ctcp.o sbuf.o send.o ${LIBS}
18 ctcp.o: config.h ctcp.c Makefile
19 ${CC} ${CFLAGS} -c ctcp.c
/dports/irc/quirc/quirc-0.9.84/data/
H A Dserver.tcl34 foreach ctcp $ctcps {
127 foreach ctcp $ctcps {
128 switch -- [lindex $ctcp 0] {
153 echo [fparse OP_CTCP_DATA [lindex $ctcp 0] $nick [lindex $ctcp 1]] $pathname
155 echo [fparse CTCP_DATA [lindex $ctcp 0] $nick [lindex $ctcp 1]] $pathname
159 echo [fparse OP_CTCP [lindex $ctcp 0] $nick [lindex $ctcp 1]] $pathname
161 echo [fparse CTCP [lindex $ctcp 0] $nick [lindex $ctcp 1]] $pathname
173 foreach ctcp $ctcps {
174 if { [lindex $ctcp 0]=="PING" && [regexp {^[0-9]+\.[0-9]+$} [lindex $ctcp 1]] } {
178 fdisplay CTCP_REPLY_DATA [lindex $ctcp 0] $nick [lindex $ctcp 1]
[all …]

12345678910>>...41