summary refs log tree commit diff stats
path: root/src/common/plugin-identd.h
diff options
context:
space:
mode:
authorTingPing <tingping@fedoraproject.org>2014-06-14 12:07:47 -0400
committerTingPing <tingping@tingping.se>2014-12-30 06:35:42 -0500
commitfef580ed7faaba17e2c8fea504b8587850502220 (patch)
treef0a9be7563888a6cb321e167f700d2498bbd08ca /src/common/plugin-identd.h
parent3bb717a3b58240209df8275a9a64ee77516f531a (diff)
Rewrite identd
- Use gio (which is cross platform)
- Properly support multiple users
- Allow configuring port
- Allow other plugins overriding
Diffstat (limited to 'src/common/plugin-identd.h')
-rw-r--r--src/common/plugin-identd.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/common/plugin-identd.h b/src/common/plugin-identd.h
new file mode 100644
index 00000000..5efc2600
--- /dev/null
+++ b/src/common/plugin-identd.h
@@ -0,0 +1,28 @@
+/* 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_PLUGIN_IDENTD_H
+#define HEXCHAT_PLUGIN_IDENTD_H
+
+int identd_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name,
+				char **plugin_desc, char **plugin_version, char *arg);
+
+int identd_plugin_deinit ();
+
+#endif