Kevin Easton
99c5ec9872
Change arcfour example module to use ARC4CHAT instead of SCHAT as the DCC type
...
The SCHAT type is already used by some other clients for SSL CHAT. This example module doesn't work
yet anyway, so no-one can actually be using it.
2018-03-14 16:58:10 +11:00
Kevin Easton
5ae42802ec
Fix crash when unloading the arcfour module
...
Remove the empty Arcfour_Cleanup() function so that the default module cleanup can happen.
Define MODULE_NAME and use that when registering the module callbacks so that the default
module cleanup will remove them correctly.
2018-02-20 23:00:00 +11:00
Kevin Easton
61a926a766
Introduce a struct dcc_ops to contain all functions pointers for a custom DCC type
...
Modules now must pass a pointer to a struct dcc_ops when calling add_dcc_bind() instead of
a list of function pointers.
2018-02-08 22:39:49 +11:00
Kevin Easton
d15a738ee9
Don't limit dcc_schat_input to DCC_CHAT type (which is never true)
2018-01-06 21:20:48 +11:00
Kevin Easton
2c94010d65
Update arcfour example module to use exported dcc_chat_socketread() callback
...
This allows it to actually connect OK, but it's still nonfunctional at the moment.
2017-12-20 18:10:02 +11:00
Kevin Easton
642ab8829d
Fix up some type mismatch errors in the arcfour module
2015-09-07 17:12:04 +10:00
Tim Cava
76528c6f38
arcfour:start_dcc_chat() The third argument to accept() should be a
...
socklen_t.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@266 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-13 21:53:24 +00:00
Tim Cava
ee35df3a41
Don't seed arcfour with uninitialized stack values when urandom can't be
...
opened, but fail instead. Fixes using uninitialized value warnings from
Coverity.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@263 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-09 07:06:43 +00:00
Tim Cava
ba8b5a67cb
Kill unused initialization code in arcfour.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@261 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-09 06:39:50 +00:00
Tim Cava
0e099fe064
Kill unused code in dcc_sdcc() and eliminate an unused pointer value
...
warning from Coverity.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@260 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-08 04:42:46 +00:00
Kevin Easton
29a3747534
Fix sequence point issue in arcfour (S[x] = --x; is undefined).
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@228 13b04d17-f746-0410-82c6-800466cd88b0
2013-02-16 13:32:00 +00:00
Kevin Easton
28febcfea9
Initial import of the ircii-pana-1.1-final source tree.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00