From 97b34b36fc90a32258cb2a7f93febe4a3435f61e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 4 Jul 2004 16:04:00 +0000 Subject: [PATCH] DCC skeleton --- src/irc/irc-dcc.c | 47 +++++++++++++++++++++++++++++++++++++++ weechat/src/irc/irc-dcc.c | 47 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 src/irc/irc-dcc.c create mode 100644 weechat/src/irc/irc-dcc.c diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c new file mode 100644 index 000000000..3178149a9 --- /dev/null +++ b/src/irc/irc-dcc.c @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2004 by FlashCode + * See README for License detail, AUTHORS for developers list. + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* irc-dcc.c: DCC communications (files & chat) */ + + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "../common/weechat.h" +#include "irc.h" + + +/* + * dcc_connect: connect to another host + */ + +void +dcc_connect () +{ +} + +/* + * dcc_send: send DCC request (file or chat) + */ + +void +dcc_send () +{ +} diff --git a/weechat/src/irc/irc-dcc.c b/weechat/src/irc/irc-dcc.c new file mode 100644 index 000000000..3178149a9 --- /dev/null +++ b/weechat/src/irc/irc-dcc.c @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2004 by FlashCode + * See README for License detail, AUTHORS for developers list. + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* irc-dcc.c: DCC communications (files & chat) */ + + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "../common/weechat.h" +#include "irc.h" + + +/* + * dcc_connect: connect to another host + */ + +void +dcc_connect () +{ +} + +/* + * dcc_send: send DCC request (file or chat) + */ + +void +dcc_send () +{ +}