1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-15 13:55:04 -05:00
hexchat/src/common/hexchatc.h

62 lines
2.0 KiB
C
Raw Normal View History

/* 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
*/
#ifndef HEXCHAT_C_H
#define HEXCHAT_C_H
2011-02-23 22:14:30 -05:00
2012-10-22 03:00:35 -04:00
extern struct hexchatprefs prefs;
2011-02-23 22:14:30 -05:00
2012-10-30 06:35:39 -04:00
extern int hexchat_is_quitting;
2011-02-23 22:14:30 -05:00
extern gint arg_skip_plugins; /* command-line args */
extern gint arg_dont_autoconnect;
extern char *arg_url;
extern char *arg_command;
extern gint arg_existing;
extern session *current_sess;
extern session *current_tab;
extern GSList *popup_list;
extern GSList *button_list;
extern GSList *dlgbutton_list;
extern GSList *command_list;
extern GSList *ctcp_list;
extern GSList *replace_list;
extern GSList *sess_list;
extern GSList *dcc_list;
extern GSList *ignore_list;
extern GSList *usermenu_list;
extern GSList *urlhandler_list;
extern GSList *tabmenu_list;
extern GList *sess_list_by_lastact[];
2011-02-23 22:14:30 -05:00
session * find_channel (server *serv, char *chan);
session * find_dialog (server *serv, char *nick);
session * new_ircwindow (server *serv, char *name, int type, int focus);
void lastact_update (session * sess);
session * lastact_getfirst (int (*filter) (session *sess));
2011-02-23 22:14:30 -05:00
int is_session (session * sess);
void session_free (session *killsess);
void lag_check (void);
2012-10-30 06:35:39 -04:00
void hexchat_exit (void);
void hexchat_exec (const char *cmd);
void hexchat_execv (char * const argv[]);
2011-02-23 22:14:30 -05:00
#endif