[lxc-devel] [lxc/lxc] a22185: Add LXC version information to version.h

GitHub noreply at github.com
Mon Dec 2 23:18:03 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a22185ddda688aa284e6451c35fae3354139cb61
      https://github.com/lxc/lxc/commit/a22185ddda688aa284e6451c35fae3354139cb61
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-12-02 (Mon, 02 Dec 2013)

  Changed paths:
    M .gitignore
    M configure.ac
    R src/lxc/version.h
    A src/lxc/version.h.in

  Log Message:
  -----------
  Add LXC version information to version.h

So that applications can get the LXC version number at compile time.

This can be used to make applications/bindings that support compiling against
multiple versions of LXC.

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 95ee490bbdb97ab2b4f1dfa63a0a26e0dd1c2f17
      https://github.com/lxc/lxc/commit/95ee490bbdb97ab2b4f1dfa63a0a26e0dd1c2f17
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-12-02 (Mon, 02 Dec 2013)

  Changed paths:
    M src/lxc/Makefile.am
    M src/lxc/bdev.c
    M src/lxc/lxc_config.c
    M src/lxc/lxc_create.c
    M src/lxc/lxc_snapshot.c
    M src/lxc/lxccontainer.c
    M src/lxc/lxccontainer.h
    R src/lxc/version.c
    M src/lxc/version.h.in
    M src/tests/attach.c
    M src/tests/cgpath.c
    M src/tests/concurrent.c
    M src/tests/console.c
    M src/tests/containertests.c
    M src/tests/get_item.c
    M src/tests/list.c
    M src/tests/lxcpath.c
    M src/tests/snapshot.c
    M src/tests/startone.c

  Log Message:
  -----------
  Reduce public API (V2)

This removes all but the following headers from our includes:
 - attach_options.h
 - lxccontainer.h
 - version.h

This also removes the duplicate lxc_version function (lxc_get_version
has been preferred for a while).

lxclock.h is now considered private.

As a result quite a lot of files needed addition of extra includes
previously inherited from lxclock.h.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/0a3673e80732...95ee490bbdb9


More information about the lxc-devel mailing list