50 lines
1.8 KiB
C
50 lines
1.8 KiB
C
/*
|
|
* This file is part of uIRC. (https://git.redxen.eu/caskd/uIRC)
|
|
* Copyright (c) 2019, 2020 Alex-David Denes
|
|
*
|
|
* uIRC is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* any later version.
|
|
*
|
|
* uIRC is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with uIRC. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "../include/mappings.h"
|
|
#include "../include/types.h"
|
|
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
|
|
#ifndef UIRC_GUARD_PRIVATE_HELPERS
|
|
#define UIRC_GUARD_PRIVATE_HELPERS
|
|
extern char* RESERVED;
|
|
void clear_assm(void);
|
|
|
|
IRC_Message* Assm_AUTO(IRC_Command cmd, bool trailing, char** args, int req);
|
|
|
|
IRC_Message* Assm_cmd_USER(char* user, char* realname, int modes);
|
|
IRC_Message* Assm_cmd_LINKS(char* remoteserv, char* servmask);
|
|
IRC_Message* Assm_cmd_WHO(char* mask, bool oper);
|
|
IRC_Message* Assm_cmd_WHOIS(char* target, char* mask);
|
|
IRC_Message* Assm_cmd_WHOWAS(char* nick, char* count, char* target);
|
|
IRC_Message* Assm_cmd_PING(char* source, char* target);
|
|
IRC_Message* Assm_cmd_SUMMON(char* user, char* target, char* channel);
|
|
IRC_Message* Assm_cmd_USERHOST(char* users[]);
|
|
IRC_Message* Assm_cmd_ISON(char* users[]);
|
|
|
|
void Tok_cmd_PING(IRC_Message* mesg, char** source, char** target);
|
|
void Tok_FArgOpt(IRC_Message* mesg, char** optarg, char** reqarg);
|
|
int Tok_CAPS(char* caps);
|
|
#endif /* UIRC_GUARD_PRIVATE_HELPERS */
|
|
|