dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/main
rizzo 0e4858d26a Bring in the improved internal API for the CLI.
WATCH OUT: this changes the binary interface (ABI) for modules,
so e.g. users of g729 codecs need a rebuilt module (but read below).

The new way to write CLI handlers is described in detail in cli.h,
and there are a few converted handlers in cli.c, look for NEW_CLI.

After converting a couple of commands i am convinced that
it is reasonably convenient to use, and it makes it easier to fix the
pending CLI issues.

On passing, note a bug with the current 'complete' architecture:
if a command is a prefix of multiple CLI entries, we miss some
of the possible options. As an example, "core set debug" can
continue with "channel" from one CLI entry, and "off" or "atleast"
from another one.

We address this problem in a separate commit
(when i have figured out a fix, that is).

ABI issues:
I asked Kevin if it was ok to make this change and he said yes.
While it would have been possible to make the change without breaking
the module ABI, the code would have been more convoluted.

I am happy to restore the old ABI (while still being able
to use the "new style" handlers) if there is demand.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47606 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14 15:23:35 +00:00
..
db1-ast Merged revisions 44888 via svnmerge from 2006-10-11 16:57:59 +00:00
editline a couple Solaris tweaks, to help build properly. 2006-08-22 05:24:50 +00:00
stdtime merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
Makefile Merged revisions 46780 via svnmerge from 2006-11-01 18:41:49 +00:00
abstract_jb.c Merge team/russell/frame_caching 2006-08-29 20:50:36 +00:00
acl.c Merged revisions 45125 via svnmerge from 2006-10-13 23:03:36 +00:00
aescrypt.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aeskey.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aesopt.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aestab.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
alaw.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
app.c Add the ability to specify multiple prompts to the Read() dialplan application, 2006-11-10 03:59:48 +00:00
ast_expr2.c Merged revisions 45408 via svnmerge from 2006-10-17 22:24:45 +00:00
ast_expr2.fl merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
ast_expr2.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
ast_expr2.y merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
ast_expr2f.c Issue 8246 Doxygen updates (kshumard) 2006-10-30 16:33:02 +00:00
asterisk.c Merged revisions 47352 via svnmerge from 2006-11-09 06:35:05 +00:00
astmm.c Remove deprecated CLI apps from the core 2006-09-21 21:17:39 +00:00
autoservice.c Merged revisions 44378 via svnmerge from 2006-10-04 19:51:38 +00:00
buildinfo.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
callerid.c various whitespace changes to reduce indentation and to better conform to 2006-11-02 14:15:12 +00:00
cdr.c Merged revisions 46200 via svnmerge from 2006-10-25 14:44:50 +00:00
channel.c This mod via bug 7531 2006-11-08 23:17:27 +00:00
chanvars.c make platforms that use mutexes in stdio.h happy 2006-08-22 23:07:11 +00:00
cli.c Bring in the improved internal API for the CLI. 2006-11-14 15:23:35 +00:00
coef_in.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
coef_out.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
config.c This solves bug 8342, whereby a crash occurs under certain circumstances while reading a config file with comments-- a call to CB_ADD shouldn't happen if withcomments is zero 2006-11-13 19:15:45 +00:00
cryptostub.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
db.c Merged revisions 46200 via svnmerge from 2006-10-25 14:44:50 +00:00
devicestate.c Merged revisions 44378 via svnmerge from 2006-10-04 19:51:38 +00:00
dlfcn.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
dns.c bug #8076 check option_debug before printing to debug channel. 2006-10-03 15:53:07 +00:00
dnsmgr.c Merged revisions 45031 via svnmerge from 2006-10-13 15:56:17 +00:00
dsp.c bug #8076 check option_debug before printing to debug channel. 2006-10-03 15:53:07 +00:00
ecdisa.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
enum.c Issue #80898 - Restoring func_enum (otmar) 2006-10-31 11:01:06 +00:00
file.c Merged revisions 47051 via svnmerge from 2006-11-02 23:16:09 +00:00
fixedjitterbuf.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
fixedjitterbuf.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
frame.c fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400p 2006-11-13 22:01:43 +00:00
fskmodem.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
http.c Merged revisions 47051 via svnmerge from 2006-11-02 23:16:09 +00:00
image.c Merged revisions 47051 via svnmerge from 2006-11-02 23:16:09 +00:00
indications.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
io.c Merged revisions 44169 via svnmerge from 2006-10-02 17:26:34 +00:00
jitterbuf.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
loader.c Take two, using find_resource on Kevin's suggestion. 2006-10-31 08:08:56 +00:00
logger.c safe terminal output is sweet. 2006-11-11 02:12:27 +00:00
manager.c Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi) 2006-11-06 17:05:04 +00:00
md5.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
netsock.c Merged revisions 44956 via svnmerge from 2006-10-12 18:43:52 +00:00
pbx.c This should already be called while locked. 2006-11-10 03:34:13 +00:00
plc.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
poll.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
privacy.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
rtp.c Merged revisions 47053 via svnmerge from 2006-11-02 23:55:59 +00:00
say.c Merged revisions 46857 via svnmerge from 2006-11-01 23:04:14 +00:00
sched.c bug #8076 check option_debug before printing to debug channel. 2006-10-03 15:53:07 +00:00
sha1.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
slinfactory.c Merged revisions 43695 via svnmerge from 2006-09-26 20:11:44 +00:00
srv.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
strcompat.c Only use alloca.h on OSes that have it. 2006-09-18 21:24:50 +00:00
tdd.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
term.c Merged revisions 47492 via svnmerge from 2006-11-11 15:22:08 +00:00
translate.c Convert translation core linked list over to read/write based one, since it spends most of it's time only reading. 2006-11-02 18:01:10 +00:00
udptl.c Merged revisions 47053 via svnmerge from 2006-11-02 23:55:59 +00:00
ulaw.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
utils.c A fair number of changes for the sake of bug 7506 2006-11-07 21:47:49 +00:00