]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod-module: split creation of new modules to share code
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Sun, 29 Jan 2012 17:40:58 +0000 (15:40 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 30 Jan 2012 22:05:34 +0000 (20:05 -0200)
commit9c7f3ad0a4fe4edb9cdef3db6f8d0d9be4483e3d
tree2084a3633980dd98eb2d18c3a677e1b51f29b3de
parent9901cfe242596b88dd13e6f867269bd63162653d
libkmod-module: split creation of new modules to share code

Share code of module creation among the several new functions. With this
we let the alias/modname/path parsing to the separate functions, and the
rest with the common one.

This fixes the issue of alias names not being able to contain dots.
libkmod/libkmod-module.c