diff options
author | Valaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-05 17:54:29 +0000 |
---|---|---|
committer | Valaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-05 17:54:29 +0000 |
commit | 92d303a5ca528839914fd397332389d2057a8e24 (patch) | |
tree | 50997a26c82f6e6244c4ec9427d4f9f1ee635274 /src/map/irc.h | |
parent | de5a209e56a3296e70b63a94e014fbc0485e38cc (diff) | |
download | hercules-92d303a5ca528839914fd397332389d2057a8e24.tar.gz hercules-92d303a5ca528839914fd397332389d2057a8e24.tar.bz2 hercules-92d303a5ca528839914fd397332389d2057a8e24.tar.xz hercules-92d303a5ca528839914fd397332389d2057a8e24.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5202 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/irc.h')
-rw-r--r-- | src/map/irc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/map/irc.h b/src/map/irc.h new file mode 100644 index 000000000..575b93301 --- /dev/null +++ b/src/map/irc.h @@ -0,0 +1,27 @@ +#include "map.h"
+
+extern short use_irc;
+
+extern short irc_announce_flag;
+extern short irc_announce_mvp_flag;
+extern short irc_announce_shop_flag;
+extern short irc_announce_jobchange_flag;
+
+void irc_announce(char *buf);
+void irc_announce_jobchange(struct map_session_data *sd);
+void irc_announce_shop(struct map_session_data *sd,int flag);
+void irc_announce_mvp(struct map_session_data *sd, struct mob_data *md);
+
+int irc_parse(int fd);
+void do_final_irc();
+void do_init_irc();
+void irc_send(char *buf);
+void irc_parse_sub(int fd, char *incoming_string);
+int send_to_parser(int fd, char *input,char key[2]);
+struct IRC_Session_Info {
+ int state;
+ int fd;
+ char username[30];
+ char password[33];
+};
+typedef struct IRC_Session_Info IRC_SI;
|