Code

plugin: Keep a usage counter for each plugin.
authorSebastian Harl <sh@tokkee.org>
Fri, 18 Apr 2014 11:57:00 +0000 (13:57 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 18 Apr 2014 11:57:00 +0000 (13:57 +0200)
commit5ff9dd43c67b93bd8835c85ba09b4d5f74c386bf
treeb805769be860ac3b98a3163f35481167044adb76
parent2fde3029d5c2bbef470264aedc9807130c25c6e8
plugin: Keep a usage counter for each plugin.

Also, let plugin_load return early if the plugin is already loaded.
This is mostly in preparation for future improvements around plugin handling.
src/core/plugin.c