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?