HEXCHAT -> ZOITECHAT

This commit is contained in:
2026-01-25 16:13:47 -07:00
parent 4ed7032fd5
commit 2b98ebc544
95 changed files with 412 additions and 412 deletions

View File

@@ -35,7 +35,7 @@
#include <io.h>
#else
#include <unistd.h>
#define HEXCHAT_DIR "zoitechat"
#define ZOITECHAT_DIR "zoitechat"
#endif
#define DEF_FONT "Monospace 9"
@@ -305,7 +305,7 @@ get_xdir (void)
if (!xdir)
{
#ifndef WIN32
xdir = g_build_filename (g_get_user_config_dir (), HEXCHAT_DIR, NULL);
xdir = g_build_filename (g_get_user_config_dir (), ZOITECHAT_DIR, NULL);
#else
wchar_t* roaming_path_wide;
gchar* roaming_path;
@@ -936,7 +936,7 @@ make_config_dirs (void)
}
g_free (buf);
buf = g_build_filename (get_xdir (), HEXCHAT_SOUND_DIR, NULL);
buf = g_build_filename (get_xdir (), ZOITECHAT_SOUND_DIR, NULL);
if (g_mkdir (buf, 0700) != 0)
{
g_free (buf);

View File

@@ -19,8 +19,8 @@
/* cfgfiles.h */
#ifndef HEXCHAT_CFGFILES_H
#define HEXCHAT_CFGFILES_H
#ifndef ZOITECHAT_CFGFILES_H
#define ZOITECHAT_CFGFILES_H
#include "zoitechat.h"
@@ -82,6 +82,6 @@ struct prefs
#define TYPE_INT 1
#define TYPE_BOOL 2
#define HEXCHAT_SOUND_DIR "sounds"
#define ZOITECHAT_SOUND_DIR "sounds"
#endif

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_CHANOPT_H
#define HEXCHAT_CHANOPT_H
#ifndef ZOITECHAT_CHANOPT_H
#define ZOITECHAT_CHANOPT_H
int chanopt_command (session *sess, char *tbuf, char *word[], char *word_eol[]);
gboolean chanopt_is_set (unsigned int global, guint8 per_chan_setting);

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_CTCP_H
#define HEXCHAT_CTCP_H
#ifndef ZOITECHAT_CTCP_H
#define ZOITECHAT_CTCP_H
void ctcp_handle (session *sess, char *to, char *nick, char *ip, char *msg,
char *word[], char *word_eol[], int id,

View File

@@ -1002,7 +1002,7 @@ open_context_cb (char *word[],
info->context = zoitechat_get_context (ph);
contexts = g_list_prepend (contexts, info);
return HEXCHAT_EAT_NONE;
return ZOITECHAT_EAT_NONE;
}
static int
@@ -1020,7 +1020,7 @@ close_context_cb (char *word[],
}
}
return HEXCHAT_EAT_NONE;
return ZOITECHAT_EAT_NONE;
}
static gboolean
@@ -1044,10 +1044,10 @@ unload_plugin_cb (char *word[], char *word_eol[], void *userdata)
g_signal_emit (obj,
signals[UNLOAD_SIGNAL],
0);
return HEXCHAT_EAT_ALL;
return ZOITECHAT_EAT_ALL;
}
return HEXCHAT_EAT_NONE;
return ZOITECHAT_EAT_NONE;
}
int
@@ -1071,17 +1071,17 @@ dbus_plugin_init (zoitechat_plugin *plugin_handle,
g_object_unref);
zoitechat_hook_print (ph, "Open Context",
HEXCHAT_PRI_NORM,
ZOITECHAT_PRI_NORM,
open_context_cb,
NULL);
zoitechat_hook_print (ph, "Close Context",
HEXCHAT_PRI_NORM,
ZOITECHAT_PRI_NORM,
close_context_cb,
NULL);
zoitechat_hook_command (ph, "unload",
HEXCHAT_PRI_HIGHEST,
ZOITECHAT_PRI_HIGHEST,
unload_plugin_cb, NULL, NULL);
}

View File

@@ -19,8 +19,8 @@
* xclaesse@gmail.com
*/
#ifndef HEXCHAT_DBUS_PLUGIN_H
#define HEXCHAT_DBUS_PLUGIN_H
#ifndef ZOITECHAT_DBUS_PLUGIN_H
#define ZOITECHAT_DBUS_PLUGIN_H
int dbus_plugin_init (zoitechat_plugin *plugin_handle,
char **plugin_name,

View File

@@ -22,8 +22,8 @@
#include <time.h> /* for time_t */
#include "proto-irc.h"
#ifndef HEXCHAT_DCC_H
#define HEXCHAT_DCC_H
#ifndef ZOITECHAT_DCC_H
#define ZOITECHAT_DCC_H
enum dcc_state {
STAT_QUEUED = 0,

View File

@@ -20,8 +20,8 @@
#include "userlist.h"
#include "dcc.h"
#ifndef HEXCHAT_FE_H
#define HEXCHAT_FE_H
#ifndef ZOITECHAT_FE_H
#define ZOITECHAT_FE_H
/* for storage of /menu entries */
typedef struct

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_HISTORY_H
#define HEXCHAT_HISTORY_H
#ifndef ZOITECHAT_HISTORY_H
#define ZOITECHAT_HISTORY_H
#define HISTORY_SIZE 100

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_IGNORE_H
#define HEXCHAT_IGNORE_H
#ifndef ZOITECHAT_IGNORE_H
#define ZOITECHAT_IGNORE_H
extern GSList *ignore_list;

View File

@@ -19,8 +19,8 @@
#include "proto-irc.h"
#ifndef HEXCHAT_INBOUND_H
#define HEXCHAT_INBOUND_H
#ifndef ZOITECHAT_INBOUND_H
#define ZOITECHAT_INBOUND_H
void inbound_next_nick (session *sess, char *nick, int error,
const message_tags_data *tags_data);

View File

@@ -19,8 +19,8 @@
/* include stuff for internet */
#ifndef HEXCHAT_INET_H
#define HEXCHAT_INET_H
#ifndef ZOITECHAT_INET_H
#define ZOITECHAT_INET_H
#ifndef WIN32

View File

@@ -19,8 +19,8 @@
#include "proto-irc.h"
#ifndef HEXCHAT_MODES_H
#define HEXCHAT_MODES_H
#ifndef ZOITECHAT_MODES_H
#define ZOITECHAT_MODES_H
int is_channel (server *serv, char *chan);
char get_nick_prefix (server *serv, unsigned int access);

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_NETWORK_H
#define HEXCHAT_NETWORK_H
#ifndef ZOITECHAT_NETWORK_H
#define ZOITECHAT_NETWORK_H
typedef struct netstore_
{

View File

@@ -478,7 +478,7 @@ notify_markonline (server *serv, char *word[], const message_tags_data *tags_dat
about 27 people */
if (i > PDIWORDS - 5)
{
/*fprintf (stderr, _("*** HEXCHAT WARNING: notify list too large.\n"));*/
/*fprintf (stderr, _("*** ZOITECHAT WARNING: notify list too large.\n"));*/
break;
}
}
@@ -515,7 +515,7 @@ notify_checklist_for_server (server *serv)
/* LAME: we can't send more than 512 bytes to the server, but *
* if we split it in two packets, our offline detection wouldn't *
work */
/*fprintf (stderr, _("*** HEXCHAT WARNING: notify list too large.\n"));*/
/*fprintf (stderr, _("*** ZOITECHAT WARNING: notify list too large.\n"));*/
break;
}
}

View File

@@ -19,8 +19,8 @@
#include "proto-irc.h"
#ifndef HEXCHAT_NOTIFY_H
#define HEXCHAT_NOTIFY_H
#ifndef ZOITECHAT_NOTIFY_H
#define ZOITECHAT_NOTIFY_H
struct notify
{

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_OUTBOUND_H
#define HEXCHAT_OUTBOUND_H
#ifndef ZOITECHAT_OUTBOUND_H
#define ZOITECHAT_OUTBOUND_H
#include "zoitechat.h"

View File

@@ -73,7 +73,7 @@ identd_cleanup_response_cb (gpointer userdata)
static int
identd_command_cb (char *word[], char *word_eol[], void *userdata)
{
g_return_val_if_fail (responses != NULL, HEXCHAT_EAT_ALL);
g_return_val_if_fail (responses != NULL, ZOITECHAT_EAT_ALL);
if (!g_strcmp0 (word[2], "reload"))
{
@@ -86,11 +86,11 @@ identd_command_cb (char *word[], char *word_eol[], void *userdata)
identd_start_server ();
if (service)
return HEXCHAT_EAT_ALL;
return ZOITECHAT_EAT_ALL;
}
if (service == NULL) /* If we are not running plugins can handle it */
return HEXCHAT_EAT_HEXCHAT;
return ZOITECHAT_EAT_ZOITECHAT;
if (word[2] && *word[2] && word[3] && *word[3])
{
@@ -108,7 +108,7 @@ identd_command_cb (char *word[], char *word_eol[], void *userdata)
zoitechat_command (ph, "HELP IDENTD");
}
return HEXCHAT_EAT_ALL;
return ZOITECHAT_EAT_ALL;
}
static void
@@ -258,7 +258,7 @@ identd_plugin_init (zoitechat_plugin *plugin_handle, char **plugin_name,
responses = g_hash_table_new_full (NULL, NULL, NULL, g_free);
zoitechat_hook_command (ph, "IDENTD", HEXCHAT_PRI_NORM, identd_command_cb,
zoitechat_hook_command (ph, "IDENTD", ZOITECHAT_PRI_NORM, identd_command_cb,
_("IDENTD <port> <username>"), NULL);
identd_start_server ();

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_PLUGIN_IDENTD_H
#define HEXCHAT_PLUGIN_IDENTD_H
#ifndef ZOITECHAT_PLUGIN_IDENTD_H
#define ZOITECHAT_PLUGIN_IDENTD_H
int identd_plugin_init (zoitechat_plugin *plugin_handle, char **plugin_name,
char **plugin_desc, char **plugin_version, char *arg);

View File

@@ -171,7 +171,7 @@ timer_cb (char *word[], char *word_eol[], void *userdata)
if (!word[2][0])
{
timer_showlist ();
return HEXCHAT_EAT_HEXCHAT;
return ZOITECHAT_EAT_ZOITECHAT;
}
if (g_ascii_strcasecmp (word[2], "-quiet") == 0)
@@ -183,7 +183,7 @@ timer_cb (char *word[], char *word_eol[], void *userdata)
if (g_ascii_strcasecmp (word[2 + offset], "-delete") == 0)
{
timer_del_ref (atoi (word[3 + offset]), quiet);
return HEXCHAT_EAT_HEXCHAT;
return ZOITECHAT_EAT_ZOITECHAT;
}
if (g_ascii_strcasecmp (word[2 + offset], "-refnum") == 0)
@@ -206,7 +206,7 @@ timer_cb (char *word[], char *word_eol[], void *userdata)
else
timer_add (ref, (int) timeout * 1000, repeat, command);
return HEXCHAT_EAT_HEXCHAT;
return ZOITECHAT_EAT_ZOITECHAT;
}
int
@@ -225,7 +225,7 @@ zoitechat_plugin_init
*plugin_desc = "IrcII style /TIMER command";
*plugin_version = "";
zoitechat_hook_command (ph, "TIMER", HEXCHAT_PRI_NORM, timer_cb, _(HELP), 0);
zoitechat_hook_command (ph, "TIMER", ZOITECHAT_PRI_NORM, timer_cb, _(HELP), 0);
return 1; /* return 1 for success */
}

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_PLUGIN_TIMER_H
#define HEXCHAT_PLUGIN_TIMER_H
#ifndef ZOITECHAT_PLUGIN_TIMER_H
#define ZOITECHAT_PLUGIN_TIMER_H
int timer_plugin_init (zoitechat_plugin *plugin_handle, char **plugin_name,
char **plugin_desc, char **plugin_version, char *arg);

View File

@@ -466,11 +466,11 @@ plugin_get_libdir (void)
{
const char *libdir;
libdir = g_getenv ("HEXCHAT_LIBDIR");
libdir = g_getenv ("ZOITECHAT_LIBDIR");
if (libdir && *libdir)
return libdir;
else
return HEXCHATLIBDIR;
return ZOITECHATLIBDIR;
}
void
@@ -608,14 +608,14 @@ plugin_hook_run (session *sess, char *name, char *word[], char *word_eol[],
break;
}
if ((ret & HEXCHAT_EAT_HEXCHAT) && (ret & HEXCHAT_EAT_PLUGIN))
if ((ret & ZOITECHAT_EAT_ZOITECHAT) && (ret & ZOITECHAT_EAT_PLUGIN))
{
eat = 1;
goto xit;
}
if (ret & HEXCHAT_EAT_PLUGIN)
if (ret & ZOITECHAT_EAT_PLUGIN)
goto xit; /* stop running plugins */
if (ret & HEXCHAT_EAT_HEXCHAT)
if (ret & ZOITECHAT_EAT_ZOITECHAT)
eat = 1; /* eventually we'll return 1, but continue running plugins */
list = next;
@@ -801,11 +801,11 @@ plugin_fd_cb (GIOChannel *source, GIOCondition condition, zoitechat_hook *hook)
typedef int (zoitechat_fd_cb2) (int fd, int flags, void *user_data, GIOChannel *);
if (condition & G_IO_IN)
flags |= HEXCHAT_FD_READ;
flags |= ZOITECHAT_FD_READ;
if (condition & G_IO_OUT)
flags |= HEXCHAT_FD_WRITE;
flags |= ZOITECHAT_FD_WRITE;
if (condition & G_IO_PRI)
flags |= HEXCHAT_FD_EXCEPTION;
flags |= ZOITECHAT_FD_EXCEPTION;
ret = ((zoitechat_fd_cb2 *)hook->callback) (hook->pri, flags, hook->userdata, source);

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_COMMONPLUGIN_H
#define HEXCHAT_COMMONPLUGIN_H
#ifndef ZOITECHAT_COMMONPLUGIN_H
#define ZOITECHAT_COMMONPLUGIN_H
#ifdef PLUGIN_C
struct _zoitechat_plugin

View File

@@ -20,8 +20,8 @@
#include <time.h>
#include "zoitechat.h"
#ifndef HEXCHAT_PROTO_H
#define HEXCHAT_PROTO_H
#ifndef ZOITECHAT_PROTO_H
#define ZOITECHAT_PROTO_H
#define MESSAGE_TAGS_DATA_INIT \
{ \

View File

@@ -15,8 +15,8 @@
* 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_SCRAM_H
#define HEXCHAT_SCRAM_H
#ifndef ZOITECHAT_SCRAM_H
#define ZOITECHAT_SCRAM_H
#include "config.h"
#ifdef USE_OPENSSL

View File

@@ -396,7 +396,7 @@ server_read (GIOChannel *source, GIOCondition condition, server *serv)
serv->linebuf[serv->pos] = lbuf[i];
if (serv->pos >= (sizeof (serv->linebuf) - 1))
fprintf (stderr,
"*** HEXCHAT WARNING: Buffer overflow - non-compliant server!\n");
"*** ZOITECHAT WARNING: Buffer overflow - non-compliant server!\n");
else
serv->pos++;
}

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_SERVER_H
#define HEXCHAT_SERVER_H
#ifndef ZOITECHAT_SERVER_H
#define ZOITECHAT_SERVER_H
extern GSList *serv_list;

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_SERVLIST_H
#define HEXCHAT_SERVLIST_H
#ifndef ZOITECHAT_SERVLIST_H
#define ZOITECHAT_SERVLIST_H
typedef struct ircserver
{

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_SSL_H
#define HEXCHAT_SSL_H
#ifndef ZOITECHAT_SSL_H
#define ZOITECHAT_SSL_H
struct cert_info {
char subject[256];

View File

@@ -1,5 +1,5 @@
#ifndef HEXCHAT_SYSINFO_H
#define HEXCHAT_SYSINFO_H
#ifndef ZOITECHAT_SYSINFO_H
#define ZOITECHAT_SYSINFO_H
#include <glib.h>

View File

@@ -2237,7 +2237,7 @@ sound_play (const char *file, gboolean quiet)
}
else
{
wavfile = g_build_filename (get_xdir (), HEXCHAT_SOUND_DIR, file, NULL);
wavfile = g_build_filename (get_xdir (), ZOITECHAT_SOUND_DIR, file, NULL);
}
if (g_access (wavfile, R_OK) == 0)

View File

@@ -20,8 +20,8 @@
#include <time.h>
#include "textenums.h"
#ifndef HEXCHAT_TEXT_H
#define HEXCHAT_TEXT_H
#ifndef ZOITECHAT_TEXT_H
#define ZOITECHAT_TEXT_H
/* timestamp is non-zero if we are using server-time */
#define EMIT_SIGNAL_TIMESTAMP(i, sess, a, b, c, d, e, timestamp) \

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_TREE_H
#define HEXCHAT_TREE_H
#ifndef ZOITECHAT_TREE_H
#define ZOITECHAT_TREE_H
#include <glib.h>

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_TYPEDEF_H
#define HEXCHAT_TYPEDEF_H
#ifndef ZOITECHAT_TYPEDEF_H
#define ZOITECHAT_TYPEDEF_H
#ifdef WIN32

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_URL_H
#define HEXCHAT_URL_H
#ifndef ZOITECHAT_URL_H
#define ZOITECHAT_URL_H
extern void *url_tree;

View File

@@ -20,8 +20,8 @@
#include <time.h>
#include "proto-irc.h"
#ifndef HEXCHAT_USERLIST_H
#define HEXCHAT_USERLIST_H
#ifndef ZOITECHAT_USERLIST_H
#define ZOITECHAT_USERLIST_H
struct User
{

View File

@@ -30,8 +30,8 @@
* --+ Dagmar d'Surreal
*/
#ifndef HEXCHAT_UTIL_H
#define HEXCHAT_UTIL_H
#ifndef ZOITECHAT_UTIL_H
#define ZOITECHAT_UTIL_H
#define rfc_tolower(c) (rfc_tolowertab[(unsigned char)(c)])

View File

@@ -18,26 +18,26 @@
*/
/* You can distribute this header with your plugins for easy compilation */
#ifndef HEXCHAT_PLUGIN_H
#define HEXCHAT_PLUGIN_H
#ifndef ZOITECHAT_PLUGIN_H
#define ZOITECHAT_PLUGIN_H
#include <time.h>
#define HEXCHAT_PRI_HIGHEST 127
#define HEXCHAT_PRI_HIGH 64
#define HEXCHAT_PRI_NORM 0
#define HEXCHAT_PRI_LOW (-64)
#define HEXCHAT_PRI_LOWEST (-128)
#define ZOITECHAT_PRI_HIGHEST 127
#define ZOITECHAT_PRI_HIGH 64
#define ZOITECHAT_PRI_NORM 0
#define ZOITECHAT_PRI_LOW (-64)
#define ZOITECHAT_PRI_LOWEST (-128)
#define HEXCHAT_FD_READ 1
#define HEXCHAT_FD_WRITE 2
#define HEXCHAT_FD_EXCEPTION 4
#define HEXCHAT_FD_NOTSOCKET 8
#define ZOITECHAT_FD_READ 1
#define ZOITECHAT_FD_WRITE 2
#define ZOITECHAT_FD_EXCEPTION 4
#define ZOITECHAT_FD_NOTSOCKET 8
#define HEXCHAT_EAT_NONE 0 /* pass it on through! */
#define HEXCHAT_EAT_HEXCHAT 1 /* don't let ZoiteChat see this event */
#define HEXCHAT_EAT_PLUGIN 2 /* don't let other plugins see this event */
#define HEXCHAT_EAT_ALL (HEXCHAT_EAT_HEXCHAT|HEXCHAT_EAT_PLUGIN) /* don't let anything see this event */
#define ZOITECHAT_EAT_NONE 0 /* pass it on through! */
#define ZOITECHAT_EAT_ZOITECHAT 1 /* don't let ZoiteChat see this event */
#define ZOITECHAT_EAT_PLUGIN 2 /* don't let other plugins see this event */
#define ZOITECHAT_EAT_ALL (ZOITECHAT_EAT_ZOITECHAT|ZOITECHAT_EAT_PLUGIN) /* don't let anything see this event */
#ifdef __cplusplus
extern "C" {
@@ -407,50 +407,50 @@ zoitechat_pluginpref_list (zoitechat_plugin *ph,
char *dest);
#if !defined(PLUGIN_C) && (defined(WIN32) || defined(__CYGWIN__))
#ifndef HEXCHAT_PLUGIN_HANDLE
#define HEXCHAT_PLUGIN_HANDLE (ph)
#ifndef ZOITECHAT_PLUGIN_HANDLE
#define ZOITECHAT_PLUGIN_HANDLE (ph)
#endif
#define zoitechat_hook_command ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_command)
#define zoitechat_event_attrs_create ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_event_attrs_create)
#define zoitechat_event_attrs_free ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_event_attrs_free)
#define zoitechat_hook_server ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_server)
#define zoitechat_hook_server_attrs ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_server_attrs)
#define zoitechat_hook_print ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_print)
#define zoitechat_hook_print_attrs ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_print_attrs)
#define zoitechat_hook_timer ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_timer)
#define zoitechat_hook_fd ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_hook_fd)
#define zoitechat_unhook ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_unhook)
#define zoitechat_print ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_print)
#define zoitechat_printf ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_printf)
#define zoitechat_command ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_command)
#define zoitechat_commandf ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_commandf)
#define zoitechat_nickcmp ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_nickcmp)
#define zoitechat_set_context ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_set_context)
#define zoitechat_find_context ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_find_context)
#define zoitechat_get_context ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_get_context)
#define zoitechat_get_info ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_get_info)
#define zoitechat_get_prefs ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_get_prefs)
#define zoitechat_list_get ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_get)
#define zoitechat_list_free ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_free)
#define zoitechat_list_fields ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_fields)
#define zoitechat_list_next ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_next)
#define zoitechat_list_str ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_str)
#define zoitechat_list_int ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_int)
#define zoitechat_plugingui_add ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_plugingui_add)
#define zoitechat_plugingui_remove ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_plugingui_remove)
#define zoitechat_emit_print ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_emit_print)
#define zoitechat_emit_print_attrs ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_emit_print_attrs)
#define zoitechat_list_time ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_list_time)
#define zoitechat_gettext ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_gettext)
#define zoitechat_send_modes ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_send_modes)
#define zoitechat_strip ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_strip)
#define zoitechat_free ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_free)
#define zoitechat_pluginpref_set_str ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_set_str)
#define zoitechat_pluginpref_get_str ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_get_str)
#define zoitechat_pluginpref_set_int ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_set_int)
#define zoitechat_pluginpref_get_int ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_get_int)
#define zoitechat_pluginpref_delete ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_delete)
#define zoitechat_pluginpref_list ((HEXCHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_list)
#define zoitechat_hook_command ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_command)
#define zoitechat_event_attrs_create ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_event_attrs_create)
#define zoitechat_event_attrs_free ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_event_attrs_free)
#define zoitechat_hook_server ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_server)
#define zoitechat_hook_server_attrs ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_server_attrs)
#define zoitechat_hook_print ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_print)
#define zoitechat_hook_print_attrs ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_print_attrs)
#define zoitechat_hook_timer ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_timer)
#define zoitechat_hook_fd ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_hook_fd)
#define zoitechat_unhook ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_unhook)
#define zoitechat_print ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_print)
#define zoitechat_printf ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_printf)
#define zoitechat_command ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_command)
#define zoitechat_commandf ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_commandf)
#define zoitechat_nickcmp ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_nickcmp)
#define zoitechat_set_context ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_set_context)
#define zoitechat_find_context ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_find_context)
#define zoitechat_get_context ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_get_context)
#define zoitechat_get_info ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_get_info)
#define zoitechat_get_prefs ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_get_prefs)
#define zoitechat_list_get ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_get)
#define zoitechat_list_free ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_free)
#define zoitechat_list_fields ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_fields)
#define zoitechat_list_next ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_next)
#define zoitechat_list_str ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_str)
#define zoitechat_list_int ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_int)
#define zoitechat_plugingui_add ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_plugingui_add)
#define zoitechat_plugingui_remove ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_plugingui_remove)
#define zoitechat_emit_print ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_emit_print)
#define zoitechat_emit_print_attrs ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_emit_print_attrs)
#define zoitechat_list_time ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_list_time)
#define zoitechat_gettext ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_gettext)
#define zoitechat_send_modes ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_send_modes)
#define zoitechat_strip ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_strip)
#define zoitechat_free ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_free)
#define zoitechat_pluginpref_set_str ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_set_str)
#define zoitechat_pluginpref_get_str ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_get_str)
#define zoitechat_pluginpref_set_int ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_set_int)
#define zoitechat_pluginpref_get_int ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_get_int)
#define zoitechat_pluginpref_delete ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_delete)
#define zoitechat_pluginpref_list ((ZOITECHAT_PLUGIN_HANDLE)->zoitechat_pluginpref_list)
#endif
#ifdef __cplusplus

View File

@@ -26,8 +26,8 @@
#include <time.h> /* need time_t */
#ifndef HEXCHAT_H
#define HEXCHAT_H
#ifndef ZOITECHAT_H
#define ZOITECHAT_H
gboolean zoitechat_theme_path_from_arg (const char *arg, char **path_out);
gboolean zoitechat_import_theme (const char *path, GError **error);

View File

@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef HEXCHAT_C_H
#define HEXCHAT_C_H
#ifndef ZOITECHAT_C_H
#define ZOITECHAT_C_H
extern struct zoitechatprefs prefs;