ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.1.x/src/opercmd.c
Revision 9866 - (view) (annotate) - [select for diffs]
Modified Sat Jan 2 18:42:50 2021 UTC (3 years, 3 months ago) by michael
File length: 7205 byte(s)
Diff to previous 9861
- Bump copyright years

Revision 9861 - (view) (annotate) - [select for diffs]
Modified Sat Jan 2 18:38:36 2021 UTC (3 years, 3 months ago) by michael
File length: 7205 byte(s)
Diff to previous 9103
- Use monotonic time whenever possible

Revision 9103 - (view) (annotate) - [select for diffs]
Modified Wed Jan 1 10:03:12 2020 UTC (4 years, 3 months ago) by michael
File length: 7175 byte(s)
Diff to previous 8749
- Bump copyright years everywhere

Revision 8749 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 11:06:27 2019 UTC (5 years, 3 months ago) by michael
File length: 7175 byte(s)
Diff to previous 8581
- Update copyright years

Revision 8581 - (view) (annotate) - [select for diffs]
Modified Sun Oct 14 16:58:58 2018 UTC (5 years, 6 months ago) by michael
File length: 7175 byte(s)
Diff to previous 8580
- Further cleanups to node allocation handling

Revision 8580 - (view) (annotate) - [select for diffs]
Modified Sun Oct 14 15:15:05 2018 UTC (5 years, 6 months ago) by michael
File length: 7226 byte(s)
Diff to previous 8562
- Allocate most list_t and node_t items from within their corresponding structure to save extra calloc/free calls

Revision 8562 - (view) (annotate) - [select for diffs]
Modified Sun Sep 23 11:39:20 2018 UTC (5 years, 6 months ago) by michael
File length: 7241 byte(s)
Diff to previous 8194
- Update copyright years

Revision 8194 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 12:39:04 2017 UTC (7 years ago) by michael
File length: 7241 byte(s)
Diff to previous 8190
- Just pass a char pointer to the opercommand handlers instead of a struct ChannelConf pointer

Revision 8190 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 11:58:20 2017 UTC (7 years ago) by michael
File length: 7329 byte(s)
Diff to previous 8188
- Revert -8188; we'll import ircd-hybrid's list manipulation routines anyway

Revision 8188 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 11:14:47 2017 UTC (7 years ago) by michael
File length: 7297 byte(s)
Diff to previous 8156
- opercmd.c, opercmd.h: use embedded list nodes

Revision 8156 - (view) (annotate) - [select for diffs]
Modified Sat Apr 8 16:30:37 2017 UTC (7 years ago) by michael
File length: 7329 byte(s)
Diff to previous 7926
- Use designated initializers; scan_gettype(): use pointer arithmetic

Revision 7926 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 13:59:33 2016 UTC (7 years, 3 months ago) by michael
File length: 7261 byte(s)
Diff to previous 7015
- Update copyright years

Revision 7015 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 16:10:14 2016 UTC (8 years, 3 months ago) by michael
File length: 7261 byte(s)
Diff to previous 7004
- Added 'command_queue_size', 'command_interval', and 'command_timeout', configuration directives to the options {} block. Removed hardcoded settings from options.h.

Revision 7004 - (view) (annotate) - [select for diffs]
Modified Fri Jan 1 00:06:28 2016 UTC (8 years, 3 months ago) by michael
File length: 7177 byte(s)
Diff to previous 6295
- Update copyright years

Revision 6295 - (view) (annotate) - [select for diffs]
Modified Fri Jul 17 19:11:38 2015 UTC (8 years, 9 months ago) by michael
File length: 7177 byte(s)
Diff to previous 6228
- Due to security reasons the PROTOCOLS command has been removed again

Revision 6228 - (view) (annotate) - [select for diffs]
Modified Thu Jul 2 13:10:18 2015 UTC (8 years, 9 months ago) by michael
File length: 7701 byte(s)
Diff to previous 6212
- Create 1.1.x branch

Revision 6212 - (view) (annotate) - [select for diffs]
Modified Fri Jun 26 17:00:33 2015 UTC (8 years, 9 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7701 byte(s)
Diff to previous 6198
- opercmd.c, opercmd.h: constification

Revision 6198 - (view) (annotate) - [select for diffs]
Modified Thu Jun 25 14:36:47 2015 UTC (8 years, 9 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7689 byte(s)
Diff to previous 6182
- Change userinfo_create() to not always allocate memory for each user message; improve checking for malformed sender prefixes
- Remove now unused userinfo_free()

Revision 6182 - (view) (annotate) - [select for diffs]
Modified Tue Jun 23 16:46:49 2015 UTC (8 years, 9 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7738 byte(s)
Diff to previous 6175
- opercmd.c: fixed compile warning with -Wshadow

Revision 6175 - (view) (annotate) - [select for diffs]
Modified Sun Jun 21 16:13:25 2015 UTC (8 years, 9 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7746 byte(s)
Diff to previous 6149
- Get rid of command_init()

Revision 6149 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 17:29:51 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7925 byte(s)
Diff to previous 6146
- Style corrections

Revision 6146 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 16:36:36 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7869 byte(s)
Diff to previous 6144
- opercmd.c: renamed cmd_stat() to cmd_stats()

Revision 6144 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 12:24:31 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7868 byte(s)
Diff to previous 6143
- opercmd.c:command_create(): rename variable to be consistent with other functions

Revision 6143 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 12:15:36 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7842 byte(s)
Diff to previous 6140
- opercmd.c:command_parse(): removed STAT and STATUS from the COMMAND_TABLE. STATS should be used instead.

Revision 6140 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 12:09:16 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7914 byte(s)
Diff to previous 6138
- opercmd.c: moved the COMMAND_TABLE into command_parse()

Revision 6138 - (view) (annotate) - [select for diffs]
Modified Sun Jun 14 12:06:57 2015 UTC (8 years, 10 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7893 byte(s)
Diff to previous 5876
- opercmd.c: reformatting

Revision 5876 - (view) (annotate) - [select for diffs]
Modified Wed Apr 29 11:25:48 2015 UTC (8 years, 11 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8321 byte(s)
Diff to previous 5726
- Removed trailing whitespaces

Revision 5726 - (view) (annotate) - [select for diffs]
Modified Tue Mar 24 18:04:06 2015 UTC (9 years ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8333 byte(s)
Diff to previous 5716
- Removed some irrelevant comments

Revision 5716 - (view) (annotate) - [select for diffs]
Modified Tue Mar 17 19:10:17 2015 UTC (9 years, 1 month ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8389 byte(s)
Diff to previous 5712
- Updated NEWS file
- Fixed previous commit to opercmd.c

Revision 5712 - (view) (annotate) - [select for diffs]
Modified Tue Mar 17 18:43:27 2015 UTC (9 years, 1 month ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8365 byte(s)
Diff to previous 5702
- Added 'protocols' command which dumps a list of configured scanners and their associated protocols/ports to a channel

Revision 5702 - (view) (annotate) - [select for diffs]
Modified Sun Mar 15 17:44:03 2015 UTC (9 years, 1 month ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7777 byte(s)
Diff to previous 5695
- opercmd.c:command_parse(): don't let command_create() allocate memory for empty parameters

Revision 5695 - (view) (annotate) - [select for diffs]
Modified Sun Mar 15 13:04:24 2015 UTC (9 years, 1 month ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7787 byte(s)
Diff to previous 5426
- Style corrections

Revision 5426 - (view) (annotate) - [select for diffs]
Modified Wed Jan 28 13:49:38 2015 UTC (9 years, 2 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7770 byte(s)
Diff to previous 5384
- memory.c:MyFree(): removed extraneous pointer test; renamed MyFree to xfree

Revision 5384 - (view) (annotate) - [select for diffs]
Modified Sat Jan 17 20:11:12 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7773 byte(s)
Diff to previous 5378
- opercmd.c:cmd_check(): fixed outdated comment

Revision 5378 - (view) (annotate) - [select for diffs]
Modified Sat Jan 17 19:02:17 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7848 byte(s)
Diff to previous 5354
- Removed useless header includes

Revision 5354 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 17:15:43 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7890 byte(s)
Diff to previous 5351
- command_parse(): removed 'msg' parameter. We actually only need this for
  m_notice() as proof for reporting insecure proxies to a dnsbl provider.

Revision 5351 - (view) (annotate) - [select for diffs]
Modified Sun Jan 11 13:24:19 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7952 byte(s)
Diff to previous 5339
- Update license headers

Revision 5339 - (view) (annotate) - [select for diffs]
Modified Thu Jan 8 15:26:28 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7859 byte(s)
Diff to previous 5338
- opercmd.c:command_parse(): don't continue to walk thru the entire table
  once a command has been found

Revision 5338 - (view) (annotate) - [select for diffs]
Modified Thu Jan 8 14:32:11 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7846 byte(s)
Diff to previous 5333
- Const-correctness

Revision 5333 - (view) (annotate) - [select for diffs]
Modified Wed Jan 7 20:45:06 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7759 byte(s)
Diff to previous 5291
- Move malloc.c to memory.c

Revision 5291 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 20:57:53 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 7759 byte(s)
Diff to previous 5287
- opercmd.c, opercmd.h: removed unused function arguments; constification

Revision 5287 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 20:07:28 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8004 byte(s)
Diff to previous 5279
- opercmd.c, opercmd.h: cleanups and optimizations to Command creation/execution

Revision 5279 - (view) (annotate) - [select for diffs]
Modified Fri Jan 2 20:30:49 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8020 byte(s)
Diff to previous 5274
- Use 'const' and 'unsigned' whenever possible
- Removed pointless 0 assignments

Revision 5274 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 20:00:33 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8028 byte(s)
Diff to previous 5273
- Renamed MyMalloc() to xcalloc()

Revision 5273 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 19:55:17 2015 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8029 byte(s)
Diff to previous 5207
- opercmd.c:command_create(): MyMalloc uses calloc(), no need to explicitly 'ret->param = NULL'

Revision 5207 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 19:38:22 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8059 byte(s)
Diff to previous 5202
- Removed AC_HEADER_STDC configure test

Revision 5202 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 17:50:43 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8089 byte(s)
Diff to previous 5135
- Moved OPT_DEBUG prototype to main.h (where it belongs to) and removed extern.h

Revision 5135 - (view) (annotate) - [select for diffs]
Modified Thu Dec 25 18:51:51 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8091 byte(s)
Diff to previous 5134
- propset svn:eol-style native

Revision 5134 - (view) (annotate) - [select for diffs]
Modified Thu Dec 25 18:50:02 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8091 byte(s)
Diff to previous 5114
- propset svn:keywords "Id"

Revision 5114 - (view) (annotate) - [select for diffs]
Modified Wed Dec 24 22:12:05 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8091 byte(s)
Diff to previous 5092
- Style corrections

Revision 5092 - (view) (annotate) - [select for diffs]
Modified Tue Dec 23 20:12:39 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8318 byte(s)
Diff to previous 5091
- Renamed DupString() to xstrdup()

Revision 5091 - (view) (annotate) - [select for diffs]
Modified Tue Dec 23 19:59:18 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8331 byte(s)
Diff to previous 5088
- Removed pointless casts

Revision 5088 - (view) (annotate) - [select for diffs]
Modified Tue Dec 23 18:35:23 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8369 byte(s)
Diff to previous 5084
- opercmd.c:command_parse(): fixed braindead 'logic'

Revision 5084 - (view) (annotate) - [select for diffs]
Modified Mon Dec 22 19:57:43 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8321 byte(s)
Diff to previous 5079
- Removed USE_VAR cruft

Revision 5079 - (view) (annotate) - [select for diffs]
Modified Mon Dec 22 18:47:58 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8444 byte(s)
Diff to previous 5069
- Removed unused cmd_op()

Revision 5069 - (view) (annotate) - [select for diffs]
Modified Mon Dec 22 14:57:12 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8990 byte(s)
Diff to previous 5052
- Replaced more references of bopm with hopm

Revision 5052 - (view) (annotate) - [select for diffs]
Added Mon Dec 22 11:56:03 2014 UTC (9 years, 3 months ago) by michael
Original Path: hopm/trunk/src/opercmd.c
File length: 8990 byte(s)
- Initial import of bopm 3.1.3

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a