[libmultipath] move coalesce_path() to libmultipath/configure.c
authorChristophe Varoqui <root@xa-s05.(none)>
Thu, 17 Nov 2005 15:50:43 +0000 (16:50 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Thu, 17 Nov 2005 15:50:43 +0000 (16:50 +0100)
commit8e4ddefdfdb87c15e9ba218c11098d8744c34920
tree0b2d4d2ad9ffa5f4df507410be1f30040422d218
parent6fb3a3e50e3f8460a61fddd69279b224c41f0dbb
[libmultipath] move coalesce_path() to libmultipath/configure.c

and consequences ...

- coalesce_paths() and all functions used only in this code path are
  folded into configure.c
- move print_*() to libmultipath/print.c, although they are only needed
  for multipath(8) (in their current form)
- declare {map,path}_layout as globals in print.c so we can now remove
  them from the parameter list in all print.c-exported functions

Now we can use coalesce_path() from multipathd.
libmultipath/Makefile
libmultipath/configure.c [new file with mode: 0644]
libmultipath/configure.h [new file with mode: 0644]
libmultipath/print.c
libmultipath/print.h
multipath/main.c
multipath/main.h
multipathd/main.c