bareos: master f0778944

Author Committer Branch Timestamp Parent
joergs mvwieringen master 2015-10-12 20:02 master 84ba7730 Pending
Changeset do_a_command: handle also dot cmds

The functions do_a_dot_command() and do_a_command()
have been identical, except for cosmetical things.

This patch gets rid of do_a_dot_command(), handling of all
bcommands is now done via do_a_command. This means,
that all known commands are now defined in one central place.

We don't show dot commands on "help" and ".help all" (used for
bconsole tab completion). They will still be shown on ".help"
(without arguments), "help <cmd>" and ".help item=<cmd>".

We also split off some code from ua_cmds.c to ua_db.c
mod - src/dird/Makefile.in Diff File
mod - src/dird/job.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_cmds.c Diff File
add - src/dird/ua_db.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File