/dports/irc/muh/muh-2.2a/src/ |
H A D | channels.c | 35 struct channel *chptr; in add_channel() local 41 chptr = ptr->data; in add_channel() 50 ptr->data = chptr; in add_channel() 99 if(chptr->log != NULL) in rem_channel() 108 xfree(chptr->log); in rem_channel() 117 xfree(chptr->name); in rem_channel() 118 xfree(chptr->topic); in rem_channel() 121 xfree(chptr); in rem_channel() 157 return chptr; in find_channel() 196 xfree(chptr->topic); in channel_topic() [all …]
|
H A D | log.c | 95 struct channel *chptr; in open_logs() local 100 chptr = ptr->data; in open_logs() 102 if(chptr->log != NULL) in open_logs() 146 struct channel *chptr; in clear_logs() local 153 chptr = ptr->data; in clear_logs() 161 xfree(chptr->log); in clear_logs() 162 chptr->log = NULL; in clear_logs() 194 if((chptr->log == NULL) || (chptr->log->logfile == NULL)) in write_logentry() 213 struct channel *chptr; in write_logentry_all() local 223 chptr = ptr->data; in write_logentry_all() [all …]
|
/dports/irc/unreal/Unreal3.2.10.7/src/modules/ |
H A D | m_topic.c | 129 if (!chptr) in CMD_FUNC() 174 if (!chptr->topic) in CMD_FUNC() 181 chptr->chname, chptr->topic); in CMD_FUNC() 185 chptr->topic_nick, chptr->topic_time); in CMD_FUNC() 191 if (!chptr->topic_time || ttime > chptr->topic_time || IsULine(sptr)) in CMD_FUNC() 224 chptr->chname, chptr->topic_nick, in CMD_FUNC() 225 chptr->topic_time, chptr->topic); in CMD_FUNC() 228 chptr->chname, chptr->topic); in CMD_FUNC() 255 …if (MyClient(sptr) && !is_chan_op(sptr, chptr) && !is_halfop(sptr, chptr) && is_banned(sptr, chptr… in CMD_FUNC() 307 if (chptr->topic) in CMD_FUNC() [all …]
|
H A D | m_issecure.c | 65 #define IsSecureJoin(chptr) (chptr->mode.mode & MODE_ONLYSECURE) argument 66 #define IsSecureChanIndicated(chptr) (chptr->mode.extmode & EXTCMODE_ISSECURE) argument 153 me.name, chptr->chname); in issecure_unset() 160 sendto_channel_butserv(chptr, &me, ":%s MODE %s -Z", me.name, chptr->chname); in issecure_unset() 177 me.name, chptr->chname); in issecure_set() 182 me.name, chptr->chname); in issecure_set() 212 aChannel *chptr; in issecure_quit() local 216 chptr = membership->chptr; in issecure_quit() 218 if (IsSecureJoin(chptr) && !IsSecureChanIndicated(chptr) && in issecure_quit() 228 if (IsSecureJoin(chptr) && !IsSecureChanIndicated(chptr) && in issecure_kick() [all …]
|
H A D | m_sjoin.c | 200 aChannel *chptr; in CMD_FUNC() local 528 f = add_listmode(&chptr->banlist, sptr, chptr, nick); in CMD_FUNC() 537 f = add_listmode(&chptr->exlist, sptr, chptr, nick); in CMD_FUNC() 547 f = add_listmode(&chptr->invexlist, sptr, chptr, nick); in CMD_FUNC() 648 && ((chptr->mode.msgs == 0) && (chptr->mode.per == 0) in CMD_FUNC() 748 && (chptr->mode.msgs || chptr->mode.per in CMD_FUNC() 753 chptr->mode.msgs, chptr->mode.per); in CMD_FUNC() 847 chptr->mode.msgs = MAX(chptr->mode.msgs, oldmode.msgs); in CMD_FUNC() 848 chptr->mode.per = MAX(chptr->mode.per, oldmode.per); in CMD_FUNC() 855 chptr->mode.msgs, chptr->mode.per); in CMD_FUNC() [all …]
|
H A D | m_join.c | 121 if (lp->value.chptr == chptr) in extended_operoverride() 164 if (lp->value.chptr == chptr) in _can_join() 188 if (lp->value.chptr == chptr) in _can_join() 191 if ((chptr->mode.limit && chptr->users >= chptr->mode.limit)) in _can_join() 220 if ((chptr->mode.limit && chptr->users >= chptr->mode.limit)) in _can_join() 266 if (e->chptr == chptr) in isjthrottled() 303 if (e->chptr == chptr) in cmodej_increase_usercounter() 409 chptr->chname, chptr->creationtime); in _join_channel() 441 sptr->name, chptr->chname, chptr->topic_nick, in _join_channel() 608 chptr = lp->chptr; in CMD_FUNC() [all …]
|
H A D | m_mode.c | 129 aChannel *chptr; in CMD_FUNC() local 167 chptr->chname, chptr->creationtime); in CMD_FUNC() 184 chptr->chname); in CMD_FUNC() 320 chptr->chname, chptr->creationtime, sendts); in CMD_FUNC() 447 chptr->chname, modebuf, parabuf, chptr->creationtime); in bounce_mode() 499 if (sendts > chptr->creationtime && chptr->creationtime) in _do_mode() 504 chptr->chname, chptr->creationtime); in _do_mode() 1505 if (!chptr->mode.msgs || !chptr->mode.per) in do_mode_char() 1509 chptr->mode.msgs, chptr->mode.per); in do_mode_char() 1513 chptr->mode.msgs = chptr->mode.per = in do_mode_char() [all …]
|
H A D | m_part.c | 86 aChannel *chptr; in CMD_FUNC() local 126 if (!chptr) in CMD_FUNC() 168 !has_voice(sptr, chptr) && !is_halfop(sptr, chptr)) in CMD_FUNC() 214 if ((chptr->mode.mode & MODE_AUDITORIUM) && !is_chanownprotop(sptr, chptr)) in CMD_FUNC() 221 chptr->chname); in CMD_FUNC() 229 chptr, in CMD_FUNC() 234 chptr->chname, comment); in CMD_FUNC() 239 chptr->chname, comment); in CMD_FUNC() 248 sendto_channel_butserv(chptr, in CMD_FUNC() 250 chptr->chname); in CMD_FUNC() [all …]
|
/dports/irc/irc/irc2.11.2p3/ircd/ |
H A D | channel.c | 455 ptr->value.chptr = chptr; in add_user_to_channel() 2010 if (lp->chptr == chptr) in can_join() 2222 inv->chptr = chptr; in add_invite() 2257 if (tmp->chptr == chptr) in del_invite() 3390 chptr = lp->value.chptr; in m_list() 3411 for (chptr = channel; chptr; chptr = chptr->nextch) in m_list() 3695 chptr = lp->value.chptr; in m_names() 3703 for (chptr = channel; chptr; chptr = chptr->nextch) in m_names() 3911 for (; chptr; chptr = chptr->nextch) in collect_channel_garbage() 3998 chptr = chptr->nextch; in collect_channel_garbage() [all …]
|
/dports/irc/undernet-ircu/ircu2.10.12.19/ircd/ |
H A D | m_topic.c | 78 chptr->creationtime, chptr->topic_time, chptr->topic); in do_settopic() 89 "%H :%s", chptr, chptr->topic); in do_settopic() 96 sendcmdto_one(sptr, CMD_TOPIC, sptr, "%H :%s", chptr, chptr->topic); in do_settopic() 113 struct Channel *chptr; in m_topic() local 124 chptr = 0; in m_topic() 132 if ((topic || SecretChannel(chptr)) && !find_channel_member(sptr, chptr)) in m_topic() 145 send_reply(sptr, RPL_TOPIC, chptr->chname, chptr->topic); in m_topic() 146 send_reply(sptr, RPL_TOPICWHOTIME, chptr->chname, chptr->topic_nick, in m_topic() 147 chptr->topic_time); in m_topic() 150 else if ((chptr->mode.mode & MODE_TOPICLIMIT) && !is_chan_op(sptr, chptr)) in m_topic() [all …]
|
H A D | m_join.c | 107 struct Channel *chptr; in m_join() local 170 if (check_target_limit(sptr, chptr, chptr->chname, 0)) { in m_join() 179 } else if (check_target_limit(sptr, chptr, chptr->chname, 0)) { in m_join() 191 else if (chptr->users == 0 && !chptr->mode.apass[0]) { in m_join() 199 else if (chptr->mode.limit && (chptr->users >= chptr->mode.limit)) in m_join() 205 else if (*chptr->mode.key && (!key || strcmp(key, chptr->mode.key))) in m_join() 275 send_reply(sptr, RPL_TOPIC, chptr->chname, chptr->topic); in m_join() 276 send_reply(sptr, RPL_TOPICWHOTIME, chptr->chname, chptr->topic_nick, in m_join() 277 chptr->topic_time); in m_join() 299 struct Channel *chptr; in ms_join() local [all …]
|
H A D | m_invite.c | 121 struct Channel *chptr; in m_invite() local 152 if (!find_channel_member(sptr, chptr)) { in m_invite() 162 if (!is_chan_op(sptr, chptr)) { in m_invite() 178 add_invite(acptr, chptr); in m_invite() 182 chptr->creationtime); in m_invite() 195 chptr, chptr->creationtime); in m_invite() 225 struct Channel *chptr; in ms_invite() local 253 if (!(chptr = FindChannel(parv[2]))) { in ms_invite() 264 if (invite_ts > chptr->creationtime) in ms_invite() 283 add_invite(acptr, chptr); in ms_invite() [all …]
|
H A D | m_burst.c | 208 struct Channel *chptr; in ms_burst() local 260 chptr->users == 0) in ms_burst() 278 if (!chptr->creationtime || chptr->creationtime > timestamp) { in ms_burst() 292 if (chptr->users == 0) in ms_burst() 334 if (!chptr->creationtime || chptr->creationtime > timestamp) { in ms_burst() 350 if (*chptr->topic) { in ms_burst() 351 *chptr->topic = '\0'; in ms_burst() 353 chptr->topic_time = 0; in ms_burst() 355 "%H :%s", chptr, chptr->topic); in ms_burst() 424 chptr->banlist = newban; in ms_burst() [all …]
|
H A D | hash.c | 138 channelTable[hashv] = chptr; in hAddChannel() 195 if (tmp == chptr) { in hRemChannel() 197 chptr->hnext = chptr; in hRemChannel() 204 chptr->hnext = chptr; in hRemChannel() 250 if (chptr) { in hSeekChannel() 253 while (prev = chptr, chptr = chptr->hnext) { in hSeekChannel() 263 return chptr; in hSeekChannel() 432 struct Channel *chptr; in list_next_channels() local 438 for (chptr = channelTable[args->bucket]; chptr; chptr = chptr->hnext) in list_next_channels() 462 chptr->chname, chptr->users, modebuf, parabuf, chptr->topic); in list_next_channels() [all …]
|
/dports/irc/unreal/Unreal3.2.10.7/src/ |
H A D | channel.c | 617 ptr2->chptr = chptr; in add_user_to_channel() 643 if (tmp2->chptr == chptr) in remove_user_from_channel() 1334 inv->value.chptr = chptr; in add_invite() 1355 if (tmp->value.chptr == chptr) in del_invite() 1426 chptr->prevch->nextch = chptr->nextch; in sub1_from_channel() 1430 chptr->nextch->prevch = chptr->prevch; in sub1_from_channel() 1526 chptr = lp->chptr; in send_user_joins() 1573 chptr = tmp->chptr; in rejoin_doparts() 1608 chptr = tmp->chptr; in rejoin_dojoinandmode() 1699 e->chptr = chptr; in chanfloodtimer_add() [all …]
|
/dports/audio/goattracker/goattracker-2.76/src/bme/ |
H A D | bme_snd.c | 107 CHANNEL *chptr; in snd_init() local 122 chptr = &snd_channel[0]; in snd_init() 130 chptr->smp = NULL; in snd_init() 131 chptr->mastervol = 64; in snd_init() 132 chptr++; in snd_init() 297 chptr++; in snd_mixchannels() 330 if (chptr->voicemode & VM_ON) in snd_mixchannel() 334 freq = chptr->freq; in snd_mixchannel() 341 int leftvol = (((chptr->vol * chptr->mastervol) >> 6) * (255-chptr->panning)) >> 7; in snd_mixchannel() 342 int rightvol = (((chptr->vol * chptr->mastervol) >> 6) * (chptr->panning)) >> 7; in snd_mixchannel() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/modules/core/ |
H A D | m_join.c | 277 use_id(source_p), (long)chptr->channelts, chptr->chname); in m_join() 290 source_p->name, chptr->chname, chptr->topic->topic); in m_join() 294 chptr->topic->topic_info, chptr->topic->topic_time); in m_join() 359 me.name, chptr->chname, chptr->chname, oldts); in ms_join() 385 me.name, chptr->chname, chptr->chname, oldts, in ms_join() 387 set_final_mode(source_p->servptr, chptr, &mode, &chptr->mode); in ms_join() 538 me.name, chptr->chname, chptr->chname, oldts); in ms_sjoin() 575 me.name, chptr->chname, chptr->chname, in ms_sjoin() 805 remove_ban_list(chptr, source_p, &chptr->exceptlist, in ms_sjoin() 809 remove_ban_list(chptr, source_p, &chptr->invexlist, in ms_sjoin() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/modules/core/ |
H A D | m_join.c | 277 use_id(source_p), (long)chptr->channelts, chptr->chname); in m_join() 290 source_p->name, chptr->chname, chptr->topic->topic); in m_join() 294 chptr->topic->topic_info, chptr->topic->topic_time); in m_join() 359 me.name, chptr->chname, chptr->chname, (long)oldts); in ms_join() 385 me.name, chptr->chname, chptr->chname, (long)oldts, in ms_join() 387 set_final_mode(source_p->servptr, chptr, &mode, &chptr->mode); in ms_join() 538 me.name, chptr->chname, chptr->chname, (long)oldts); in ms_sjoin() 575 me.name, chptr->chname, chptr->chname, in ms_sjoin() 805 remove_ban_list(chptr, source_p, &chptr->exceptlist, in ms_sjoin() 809 remove_ban_list(chptr, source_p, &chptr->invexlist, in ms_sjoin() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/src/ |
H A D | channel.c | 90 return (chptr); in allocate_channel() 154 if(msptr->chptr == chptr) in find_channel_membership() 207 msptr->chptr = chptr; in add_user_to_channel() 234 chptr = msptr->chptr; in remove_user_from_channel() 270 chptr = msptr->chptr; in remove_user_from_channels() 378 free_topic(chptr); in destroy_channel() 381 del_from_hash(HASH_CHANNEL, chptr->chname, chptr); in destroy_channel() 427 channel_pub_or_secret(chptr), chptr->chname); in channel_member_names() 739 if(chptr == NULL) in allocate_topic() 754 if(chptr == NULL || chptr->topic == NULL) in free_topic() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/src/ |
H A D | channel.c | 90 return (chptr); in allocate_channel() 154 if(msptr->chptr == chptr) in find_channel_membership() 207 msptr->chptr = chptr; in add_user_to_channel() 234 chptr = msptr->chptr; in remove_user_from_channel() 270 chptr = msptr->chptr; in remove_user_from_channels() 378 free_topic(chptr); in destroy_channel() 381 del_from_hash(HASH_CHANNEL, chptr->chname, chptr); in destroy_channel() 427 channel_pub_or_secret(chptr), chptr->chname); in channel_member_names() 739 if(chptr == NULL) in allocate_topic() 754 if(chptr == NULL || chptr->topic == NULL) in free_topic() [all …]
|
/dports/irc/ircd-ratbox-devel/ircd-ratbox-3.0.7/contrib/ |
H A D | m_ojoin.c | 60 struct Channel *chptr; in mo_ojoin() local 79 if((chptr = find_channel(parv[1])) == NULL) in mo_ojoin() 86 if(IsMember(source_p, chptr)) in mo_ojoin() 101 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 114 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 126 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 133 if(chptr->topic != NULL) in mo_ojoin() 136 source_p->name, chptr->chname, chptr->topic->topic); in mo_ojoin() 138 source_p->name, chptr->chname, chptr->topic->topic_info, in mo_ojoin() 139 chptr->topic->topic_time); in mo_ojoin() [all …]
|
H A D | m_force.c | 82 struct Channel *chptr; in mo_forcejoin() local 133 if(IsMember(target_p, chptr)) in mo_forcejoin() 156 if(chptr->topic != NULL) in mo_forcejoin() 159 target_p->name, chptr->chname, chptr->topic->topic); in mo_forcejoin() 162 chptr->topic->topic_info, chptr->topic->topic_time); in mo_forcejoin() 199 (long)chptr->channelts, chptr->chname, target_p->name); in mo_forcejoin() 205 chptr->mode.mode |= MODE_TOPICLIMIT; in mo_forcejoin() 206 chptr->mode.mode |= MODE_NOPRIVMSGS; in mo_forcejoin() 208 sendto_channel_local(ALL_MEMBERS, chptr, ":%s MODE %s +nt", me.name, chptr->chname); in mo_forcejoin() 218 source_p->name, chptr->chname); in mo_forcejoin() [all …]
|
/dports/irc/ircd-ratbox/ircd-ratbox-3.0.10/contrib/ |
H A D | m_ojoin.c | 60 struct Channel *chptr; in mo_ojoin() local 79 if((chptr = find_channel(parv[1])) == NULL) in mo_ojoin() 86 if(IsMember(source_p, chptr)) in mo_ojoin() 101 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 114 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 126 me.name, (long)chptr->channelts, chptr->chname, source_p->name); in mo_ojoin() 133 if(chptr->topic != NULL) in mo_ojoin() 136 source_p->name, chptr->chname, chptr->topic->topic); in mo_ojoin() 138 source_p->name, chptr->chname, chptr->topic->topic_info, in mo_ojoin() 139 chptr->topic->topic_time); in mo_ojoin() [all …]
|
H A D | m_force.c | 82 struct Channel *chptr; in mo_forcejoin() local 133 if(IsMember(target_p, chptr)) in mo_forcejoin() 156 if(chptr->topic != NULL) in mo_forcejoin() 159 target_p->name, chptr->chname, chptr->topic->topic); in mo_forcejoin() 162 chptr->topic->topic_info, chptr->topic->topic_time); in mo_forcejoin() 199 (long)chptr->channelts, chptr->chname, target_p->name); in mo_forcejoin() 205 chptr->mode.mode |= MODE_TOPICLIMIT; in mo_forcejoin() 206 chptr->mode.mode |= MODE_NOPRIVMSGS; in mo_forcejoin() 208 sendto_channel_local(ALL_MEMBERS, chptr, ":%s MODE %s +nt", me.name, chptr->chname); in mo_forcejoin() 218 source_p->name, chptr->chname); in mo_forcejoin() [all …]
|
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/nomos/agent_tests/testdata/NomosTestfiles/GPL/ |
H A D | m_knock.c | 56 aChannel *chptr; in m_knock() local 88 if ((chptr = find_channel(name, NULL)) == NULL) { in m_knock() 93 if (IsMember(sptr, chptr)) { in m_knock() 94 send_me_numeric(sptr, RPL_KNOCKONCHAN, chptr->chname); in m_knock() 98 …if (!(chptr->mode.mode & CMODE_INVITEONLY) && ((!chptr->mode.limit || (chptr->mode.limit && chptr-… in m_knock() 99 || ((chptr->mode.mode & CMODE_INVITEONLY) && is_invited(sptr, chptr)))) { in m_knock() 103 if (*chptr->mode.key != '\0' && (key == NULL || irccmp(chptr->mode.key, key))) { in m_knock() 107 if (chptr->mode.mode & CMODE_PRIVATE) { in m_knock() 112 if (is_banned(sptr, chptr, NULL)) { in m_knock() 118 send_me_numeric(sptr, RPL_KNOCKWAIT, chptr->chname, in m_knock() [all …]
|