当前位置: 首页>>代码示例>>C++>>正文


C++ protocol_debug函数代码示例

本文整理汇总了C++中protocol_debug函数的典型用法代码示例。如果您正苦于以下问题:C++ protocol_debug函数的具体用法?C++ protocol_debug怎么用?C++ protocol_debug使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了protocol_debug函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: denora_event_chghost

int denora_event_chghost(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    change_user_host(av[0], av[1]);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例2: denora_event_swhois

int denora_event_swhois(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    do_swhois(av[0], av[1]);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:nefarious13.c

示例3: denora_event_setname

int denora_event_setname(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    change_user_realname(av[0], av[1]);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:nefarious13.c

示例4: denora_event_part

/* ABAAA L #ircops */
int denora_event_part(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    do_part(source, ac, av);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:9,代码来源:nefarious13.c

示例5: denora_event_spamburst

int denora_event_spamburst(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }

    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:nefarious13.c

示例6: denora_event_svinfo

/*
 * SVINFO
 *      parv[0] = sender prefix
 *      parv[1] = TS_CURRENT for the server
 *      parv[2] = TS_MIN for the server
 *      parv[3] = server is standalone or connected to non-TS only
 *      parv[4] = server's idea of UTC time
 */
int denora_event_svinfo(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    /* currently not used but removes the message : unknown message from server */
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:16,代码来源:plexus.c

示例7: denora_event_motd

int denora_event_motd(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    m_motd(source);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例8: denora_event_capab

/* Event: PROTOCTL */
int denora_event_capab(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    capab_parse(ac, av);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:9,代码来源:plexus.c

示例9: denora_event_away

int denora_event_away(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    m_away(source, (ac ? av[0] : NULL));
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例10: denora_event_eob

int denora_event_eob(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    update_sync_state(source, SYNC_COMPLETE);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例11: denora_event_pong

int denora_event_pong(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    server_store_pong(source, time(NULL));
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例12: denora_event_unxline

int denora_event_unxline(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    sql_do_unxline(av[1]);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例13: denora_event_unkline

int denora_event_unkline(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    sql_do_server_bans_remove(NULL, av[1], av[2]);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:8,代码来源:plexus.c

示例14: denora_event_jupe

/* <source> JU <targetservermask> [!]<+/-><jupedservername> <duration> <timestamp> :<reason>
 * AVAAC JU * +something.fake 5 1214347612 :Some fake jupe */
int denora_event_jupe(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    p10_gline((char *) "J", source, ac, av);
    return MOD_CONT;
}
开发者ID:danopia,项目名称:denora,代码行数:10,代码来源:nefarious13.c

示例15: denora_event_akill

int denora_event_akill(char *source, int ac, char **av)
{
	if (denora->protocoldebug)
	{
		protocol_debug(source, ac, av);
	}
	sql_do_server_bans_add(NULL, av[1], av[0], av[3], av[4], av[2], av[5]);
	return MOD_CONT;
}
开发者ID:denora,项目名称:protocol-legacy,代码行数:9,代码来源:solidircd.c


注:本文中的protocol_debug函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。