commit | ece09aac7f516549c6f14b7af68cd9c24d709b68 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Wed Jan 18 01:26:44 2012 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Mon Jan 30 13:52:22 2012 -0200 |
tree | 0e5521b0b6a3fcae1ce780819c48e12da50784d3 | |
parent | d48b8a792dc4140223e65f43542ddd9703efd322 [diff] |
libkmod-module: add visited field This field can be used to iterate the modules, controlling whether we are revisiting a certain module. A function to clear the values in all modules is needed since when we are iterating, we don't know if the module is created anew or if it's picked from the pool. Therefore we can't know if the field is true because of a previous iteration or if the module was indeed already visited.