Lucas De Marchi
853b5fc52e
Ref and unref ctx when kmod_loaded is created/destroyed
2011-11-24 23:09:39 -02:00
Lucas De Marchi
cf9aadeb25
Fix refcount of loaded modules
2011-11-24 15:41:15 -02:00
Lucas De Marchi
6fc20bbfee
Keep valgrind happy when mixing sscanf and strtok
...
When mixing sscanf() and strtok() Valgrind complaints like below:
==1641== Conditional jump or move depends on uninitialised value(s)
Use stroull() instead of sscanf().
2011-11-23 17:52:48 -02:00
Lucas De Marchi
6806a0437f
Implement function to remove module
2011-11-23 17:14:22 -02:00
Lucas De Marchi
6ad9830731
Rename leftover libabc reference
2011-11-23 16:08:04 -02:00
Lucas De Marchi
88e9c12e4e
Rename libkmod-util.h to macro.h
2011-11-23 16:08:04 -02:00
Lucas De Marchi
f87081b4d1
Add some function attributes and use them
2011-11-23 16:08:04 -02:00
Lucas De Marchi
6d177553dc
Constify API
2011-11-23 12:28:23 -02:00
Lucas De Marchi
8b69b37629
Remove leftover declarations
2011-11-23 11:50:27 -02:00
Lucas De Marchi
5369797d09
Add libkmod-loaded to handle live modules information
...
All the functions needed by a lsmod binary are in place.
test/test-loaded.c implements it with the same output of lsmod.
2011-11-23 11:44:17 -02:00
Lucas De Marchi
6924e47a8d
Implement circular double-linked list
2011-11-23 05:15:21 -02:00
Lucas De Marchi
68b0d8e507
Don't use glob in version script
2011-11-22 05:37:21 -02:00
Lucas De Marchi
c83a45ea87
Fix version to 0:0:0
...
Version is only incremented upon release
2011-11-22 05:36:50 -02:00
Lucas De Marchi
9d77b96c7a
Remove unused functions
2011-11-21 15:15:54 -02:00
Lucas De Marchi
52a7704f67
Make kmod_new return a pointer
2011-11-21 15:15:54 -02:00
Lucas De Marchi
e4351b053f
Convert spaces to tabs
2011-11-21 15:15:54 -02:00
Lucas De Marchi
586fc304d8
Rename libabc to libkmod
2011-11-21 14:35:35 -02:00