bareos: master e52b57d6

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2015-06-28 16:34 master c47ad826 Pending
Changeset Refactor list and llist.

Over time the list and llist code really developed into some serious
spaghetti code. To make thing somewhat more like what you expect from
the command its now refactored to do the following:

- Add offset parameter
- Select what to do based on the first keyword after the list or llist
- Only do one action at a time.
- Remove the somewhat strange features like:
  - list jobs jobid=1
    - Which lists first all jobs and then the specifics for jobid 1
  - list fileset jobid=1
    - Which lists the fileset used by jobid 1
    - The jobs specifics of JobId 1
  - list pools jobid=1
    - Which lists all pools
    - The jobs specifics of JobId 1
mod - src/cats/protos.h Diff File
mod - src/cats/sql.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_select.c Diff File