bareos: master a0310dbe

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2015-06-25 18:39 master d59301aa Pending
Changeset Cleanup director and use bool instead of int

We have a lot of functions that return an int 0 or 1 which can
just as well return a proper boolean as return value. This patch
tries to cleanup this in more places as already done before so we
mostly use bool where possible and int only when things cannot be
solved by a bool e.g. when false and true are not enough.
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua.h Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_configure.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_impexp.c Diff File
mod - src/dird/ua_input.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_update.c Diff File