mime type detection
I need to detect a file's mimetype for a Gnome VFS module (a multiuser file transfer protocoll...).
I know gnome-vfs offers mimetype detection functions but I'd like to keep my project's core server/client-code free of any desktop specific bindings.
Is there any other standard way to detect mime-types?
It seems this is just a spec which is implemented by gnome-vfs and it's KDE equivalent, but doesn't provide a library on it's own. Anyway, I've decided to use the gnome-vfs code in a wrapper file which can be compiled for either gnome or kde.
Thanks for your reply :)
I know forensictool.net 's mime detection program. You can use this