Add lightmediascanner_utils.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 19 Nov 2007 16:41:16 +0000 (13:41 -0300)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 19 Nov 2007 16:41:16 +0000 (13:41 -0300)
commitf5b4d3aa7865c1baaecb9039209cd18dc1874618
tree8c20f963f7ae91bc0e433b4cd70b95440644f499
parenta98b28dea5475af6fd2ae2d33c6882ae05901550
Add lightmediascanner_utils.

It provides:
 * lms_strstrip(): remove spaces from string begin and end, accounts length.
 * lms_which_extension(): check which of the given extension the name ends,
   returns it index.
src/lib/Makefile.am
src/lib/lightmediascanner_utils.c [new file with mode: 0644]
src/lib/lightmediascanner_utils.h [new file with mode: 0644]