Commit Graph

362 Commits

Author SHA1 Message Date
Jilles Tjoelker c465dbcda4 Move some declarations to header files, this enforces that they match. 2008-04-20 15:30:24 +02:00
Jilles Tjoelker aa65834c6f Fix various compiler warnings. 2008-04-20 15:20:10 +02:00
Valery Yatsko 45be325cd2 Remote d:lines implementation (based on ircd-seven's r230 by spb, Stephen Bennett <spb@attenuate.org>) 2008-04-20 11:26:37 +04:00
William Pitcock 7e8e21a41a Remainder of irc_string.* is moved to new inline/stringops.h. 2008-04-20 01:03:11 -05:00
Valery Yatsko 13ae2f4b69 irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
Valery Yatsko 5f4f1d055f strip_tabs() is related to s_conf.c ONLY - moved it there 2008-04-20 09:38:26 +04:00
Valery Yatsko c6b832270e clean_string() is related to m_links.c ONLY - moved it there 2008-04-20 09:35:22 +04:00
Valery Yatsko dcbd1d073c strtoken -> rb_strtok_r (with arguments order changes) 2008-04-20 09:20:25 +04:00
Valery Yatsko d99380b61b legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
Valery Yatsko 08a5f1f948 myctime -> rb_ctime 2008-04-20 09:03:39 +04:00
Valery Yatsko 9879cd59a6 Various inet* -> rb_inet_* 2008-04-20 08:55:41 +04:00
Valery Yatsko a64c5173a7 strlcat -> rb_strlcat 2008-04-20 08:44:04 +04:00
Valery Yatsko 907468c485 strlcpy -> rb_strlcpy 2008-04-20 08:40:40 +04:00
Valery Yatsko b798359b17 Functions replacement: ircd_baseXX_{en,de}code -> rb_baseXX_{en,de}code 2008-04-20 08:36:28 +04:00
Valery Yatsko 359dada2ab Splitted open_logfiles(); into open_logfiles(); and close_logfiles();, use the second one on ircd_shutdown 2008-04-20 07:42:30 +04:00
Valery Yatsko 6972e25a95 Moving some m_die code into ircd_shutdown(reason) function and use it on SIGTERM too 2008-04-20 07:38:56 +04:00
Jilles Tjoelker b717a466d0 Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
Jilles Tjoelker faf00e4f00 Rerun autoconf and autoheader. 2008-04-11 17:57:37 +02:00
William Pitcock bbce52f18d TS_MIN is 6 now. 2008-04-11 10:23:47 -05:00
William Pitcock 5295cde25d start working on TS5 removal. 2008-04-11 10:22:44 -05:00
Valery Yatsko b9c1b1b960 Fixing compilation - CAP_GLN removed 2008-04-11 18:56:53 +04:00
Valery Yatsko d5a432fa00 Removing glines 2008-04-11 18:47:03 +04:00
Jilles Tjoelker 33dcd535b7 Add extern to eob_count global variable declaration in header file. 2008-04-11 11:30:07 +02:00
Valery Yatsko ca89e98e03 .cvsignore files removed, SVN-Access replaced by Mercurial-Access 2008-04-09 22:24:50 +04:00
Valery Yatsko b5482c9103 chm_* declarations gone to chmode.h - this makes some modules clean 2008-04-08 23:39:35 +04:00
Jilles Tjoelker 001b3b3633 Make Dictionary keys const everywhere. 2008-04-08 19:52:02 +02:00
Jilles Tjoelker 20961eeada Make the format argument of change_nick_user_host() const. 2008-04-08 18:54:58 +02:00
Jilles Tjoelker b4cd337c77 Make Message.cmd a const pointer. 2008-04-08 18:51:52 +02:00
Valery Yatsko 03d18a46b1 Fixed two places, where sendto_realops_flags was mistakenly used, and removed this function entirely 2008-04-08 20:32:58 +04:00
Valery Yatsko 79c3c679ad Removing UMODE_ALL, replacing all sendto_realops_flags in sslproc.c with snomasks 2008-04-08 20:16:19 +04:00
Valery Yatsko 8e936dafd2 Changing umode defines - renumbered 2008-04-08 20:06:43 +04:00
Valery Yatsko 92b8976366 'S' flag meaning we use ssl link added to /stats {c,C} (connect) 2008-04-08 18:30:53 +04:00
Valery Yatsko 29c8637abb Branch merge 2008-04-08 18:01:37 +04:00
Valery Yatsko 6b7c7401f9 Working over zipstats bug and moving on the new ServerStats struct (without Kb counting, this style is used by code parts from ratbox3) 2008-04-08 18:00:38 +04:00
Valery Yatsko 94ffe93212 ircd_state.{c,h} gone - let us redesign it in future really 2008-04-08 15:41:41 +04:00
Valery Yatsko f9d784da28 It seems that we don't use data structs version anywhere since 1.2.0 - removed 2008-04-08 15:36:56 +04:00
Valery Yatsko 8d268bdb38 Some declarations connected to removed servlink gone 2008-04-07 15:26:25 +04:00
William Pitcock 5da17c500b fix whois :) 2008-04-06 12:04:25 -05:00
William Pitcock 16cb94cc53 add umode +Z for SSL, can't be set or unset 2008-04-06 11:55:12 -05:00
William Pitcock a6cb5ebfe0 add missing file 2008-04-06 11:31:46 -05:00
Valery Yatsko 8db00894ab ssl sync with http://hg.angelforce.ru/charybdis-old 2008-04-06 18:52:42 +04:00
Jilles Tjoelker 1d39b466d4 Branch merge. 2008-04-05 22:34:13 +02:00
Jilles Tjoelker cecb5c1e51 Put back connecting to servers defined by hostname.
The DNS lookup is done at connect time.
2008-04-05 22:09:32 +02:00
Valery Yatsko 3fe908250a Much clear maxconnections stuff - ported from ratbox3. 2008-04-05 23:56:15 +04:00
Valery Yatsko 2f5fa92127 Missed some files in r520 commit. 2008-04-05 21:20:48 +04:00
Valery Yatsko 2c2e0aa96e Replacing legacy IPV6 define with RB_IPV6 (which is included in libratbox's config.h). 2008-04-05 20:57:30 +04:00
Valery Yatsko 8325120565 s_stats.c removed, now we use new style of stats handling. 2008-04-04 19:54:37 +04:00
Jilles Tjoelker 93f767eb28 Remove some declarations for removed functions. 2008-04-04 01:19:28 +02:00
Jilles Tjoelker d991e38239 Servlink control data is read again, this makes /stats Z work. 2008-04-04 00:45:38 +02:00
Jilles Tjoelker 83b667df88 Ziplinks appear to work again now. 2008-04-04 00:13:50 +02:00
William Pitcock d3455e2c7e s_log.* -> logger.* (s_foo looks ugly, lets try to get rid of it) 2008-04-02 21:52:01 -05:00
William Pitcock 3a2ff95dcf ilog_error() replaces legacy report_error() craq 2008-04-02 21:40:54 -05:00
Jilles Tjoelker cb1130e0f0 Make s_auth.c compile. 2008-04-02 21:14:34 +02:00
Valery Yatsko 32db3450e8 Stuff connected with ctrlFd disabled 2008-04-02 21:16:13 +04:00
Valery Yatsko 6227ed01af flood_recalc moved on ratbox3 event engine 2008-04-02 21:10:29 +04:00
Valery Yatsko 887b2f383e linebuf -> rb_linebuf 2008-04-02 21:04:44 +04:00
Valery Yatsko fb968f050c Workarond with listener.c stuff on moving from listener->fd usage on listener->F. 2008-04-02 20:06:11 +04:00
Valery Yatsko 3ea5fee7ed irc_sockaddr_storage -> rb_sockaddr_storage, changing fd in Listener struct to F 'cause libratbox3 need it. 2008-04-02 19:57:37 +04:00
Valery Yatsko c945815bf6 class.c fixed 2008-04-02 19:49:42 +04:00
Valery Yatsko de2fb6e2ae m_pass.c fixed 2008-04-02 19:45:22 +04:00
Valery Yatsko 21c9d815d7 Reverting some changed related not to moving on libratbox3 but using ratbox3 source! 2008-04-02 19:37:50 +04:00
Valery Yatsko e6a489940b replacing ssld with servlink 2008-04-02 17:00:18 +04:00
Valery Yatsko ad9e4e4095 get_printable_kline(..) fix 2008-04-02 16:55:01 +04:00
Valery Yatsko 42d2f3061c READBUF_SIZE 2008-04-02 16:35:48 +04:00
Valery Yatsko 95781b4d5f Trying to fix packet.c 2008-04-02 16:31:17 +04:00
Valery Yatsko bcf2cc4996 fixing ServerStats struct 2008-04-02 16:08:28 +04:00
Valery Yatsko 8750c6e6b7 tstats stuff gone to m_stats.c 2008-04-02 16:04:43 +04:00
Valery Yatsko 79f5dd2fc6 fixing Class struct 2008-04-02 15:34:26 +04:00
Valery Yatsko 90b693f9f6 More charybdis -> ratbox3 2008-04-02 15:02:45 +04:00
Valery Yatsko 3e32e4d686 Fixing bugs 2008-04-02 14:43:53 +04:00
Valery Yatsko ea0d463a50 hostmask.h cleanup 2008-04-02 14:42:25 +04:00
Valery Yatsko 92bdd4adfe reject functions from ratbox3 2008-04-02 14:41:37 +04:00
Valery Yatsko 0e992f7e53 s_stats workaround 2008-04-02 14:35:57 +04:00
Valery Yatsko c72690d81d ssl_ok in ircd.{h,c} 2008-04-02 14:29:18 +04:00
Valery Yatsko cd7082fb1f localflags stuff 2008-04-02 14:28:02 +04:00
Valery Yatsko bc475bf020 LocalUser::ssl_ctl 2008-04-02 14:26:13 +04:00
Valery Yatsko f11e2ad2b9 CLI_FD_MAX 2008-04-02 14:23:36 +04:00
Valery Yatsko 01ebafc985 Some hash stuff 2008-04-02 14:20:27 +04:00
Valery Yatsko 58e8319c1c Reverting to 398.. trying again with native charybdis hash 2008-04-02 14:16:31 +04:00
Valery Yatsko aa3c732376 switching back on nd_dict instead of ratbox3 hash functions 2008-04-02 14:11:01 +04:00
Valery Yatsko 505c5339f9 LocalUser struct changes 2008-04-02 14:07:14 +04:00
Valery Yatsko 4c5a31dfa0 LOCAL_COPY_N macro 2008-04-02 14:03:16 +04:00
Valery Yatsko db3ff62e3b nd_entry struct from ratbox3 2008-04-02 14:00:41 +04:00
Valery Yatsko 162828b85d hash.{h,c} from ratbox3, let's work around them! xD 2008-04-02 13:58:52 +04:00
Valery Yatsko dbb537badf 'lip' added in LocalUser struct 2008-04-02 13:55:17 +04:00
Valery Yatsko 58f3e38756 extern declaration in ircd.h instead of ircd.c 2008-04-02 13:53:41 +04:00
Valery Yatsko c3a90b617f Much more changes to remove compilation warnings 2008-04-02 13:43:11 +04:00
Valery Yatsko 964f08d839 This define is in libratbox config.h 2008-04-02 13:40:07 +04:00
Valery Yatsko 79edef0918 Trying again - this will need ssld integration from me 2008-04-02 13:32:14 +04:00
Valery Yatsko 55eeaea101 Reverting last commit to try again 2008-04-02 13:11:59 +04:00
Valery Yatsko ae9fc63bfd Trying to migrate on ratbox3's listener. 2008-04-02 06:25:08 +04:00
Valery Yatsko f503e634fd DupNString removed - we don't need it now 2008-04-02 06:00:24 +04:00
William Pitcock 304ded9583 yet another autoreconf run. 2008-04-01 20:55:40 -05:00
William Pitcock f99c7b64cb run autoreconf. 2008-04-01 20:40:26 -05:00
William Pitcock 738971829f make s_user.c build. 2008-04-01 20:36:50 -05:00
Valery Yatsko 6e9b4415cc ok, trying to work on blockheap's stuff 2008-04-02 04:28:05 +04:00
Valery Yatsko acc2595cc3 fixing cache.c compilation - code stolen from ratbox3, with irc dictionary addition 2008-04-02 04:15:58 +04:00
Valery Yatsko 9f6bbe3cf9 CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
Valery Yatsko b8127271b7 extern void send_pop_queue(struct Client *); in header, will implement this some time later 2008-04-02 03:39:08 +04:00
Valery Yatsko 06c0995c9b ircd_defs.h declaration in stdinc.h - needed for some reasons. 2008-04-02 03:31:31 +04:00