1. 18 Oct, 2013 14 commits
  2. 17 Oct, 2013 6 commits
  3. 16 Oct, 2013 3 commits
  4. 15 Oct, 2013 3 commits
  5. 14 Oct, 2013 1 commit
    • define list container api (v2) · a41f104b
      Serge Hallyn authored
      Two new commands are defined: list_defined_containers() and
      list_active_containers().  Both take an lxcpath (NULL means
      use the default lxcpath) and return the number of containers
      found.  If a lxc_container ** is passed in, then an array of
      lxc_container's is returned, one for each container found.
      The caller must then lxc_container_put() each container and
      free the array, as shown in the new list testcase.
      If a char ** is passed in, then an array of container names
      is returned, after which the caller must free all the names
      and the name array, as showsn in the testcase.
      
      Changelog:
      	Check for the container config file before trying to
      	create an lxc_container *, to save some work. [ per
      	stgraber comments]
      	Add names ** argument to return only container names.
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
      Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
  6. 10 Oct, 2013 8 commits
  7. 09 Oct, 2013 2 commits
  8. 08 Oct, 2013 3 commits