2013-03-31 15:44:48 -04:00
|
|
|
/* HexChat
|
|
|
|
* Copyright (C) 1998-2010 Peter Zelezny.
|
|
|
|
* Copyright (C) 2009-2013 Berke Viktor.
|
|
|
|
*
|
|
|
|
* This program 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 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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 this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2012-10-24 19:33:23 -04:00
|
|
|
#ifndef HEXCHAT_OUTBOUND_H
|
|
|
|
#define HEXCHAT_OUTBOUND_H
|
2011-02-23 22:14:30 -05:00
|
|
|
|
2013-10-10 14:51:33 -04:00
|
|
|
#include "hexchat.h"
|
|
|
|
|
2011-02-23 22:14:30 -05:00
|
|
|
extern const struct commands xc_cmds[];
|
|
|
|
extern GSList *menu_list;
|
|
|
|
|
2014-12-15 13:25:28 -05:00
|
|
|
int auto_insert (char *dest, gsize destlen, unsigned char *src, char *word[], char *word_eol[],
|
2013-04-03 18:10:14 -04:00
|
|
|
char *a, char *c, char *d, char *e, char *h, char *n, char *s, char *u);
|
2013-08-10 16:51:56 -04:00
|
|
|
char *command_insert_vars (session *sess, char *cmd);
|
2011-02-23 22:14:30 -05:00
|
|
|
int handle_command (session *sess, char *cmd, int check_spch);
|
|
|
|
void process_data_init (char *buf, char *cmd, char *word[], char *word_eol[], gboolean handle_quotes, gboolean allow_escape_quotes);
|
|
|
|
void handle_multiline (session *sess, char *cmd, int history, int nocommand);
|
|
|
|
void check_special_chars (char *cmd, int do_ascii);
|
|
|
|
void notc_msg (session *sess);
|
|
|
|
void server_sendpart (server * serv, char *channel, char *reason);
|
|
|
|
void server_sendquit (session * sess);
|
|
|
|
int menu_streq (const char *s1, const char *s2, int def);
|
2013-10-10 14:51:33 -04:00
|
|
|
session *open_query (server *serv, char *nick, gboolean focus_existing);
|
2011-02-23 22:14:30 -05:00
|
|
|
gboolean load_perform_file (session *sess, char *file);
|
|
|
|
|
|
|
|
#endif
|