Description
Bindings to libmtp.
Description
A FFI binding to libmtp, an implementation of the Media Transfer Protocol.
See http://libmtp.sourceforge.net for more information.
README.md
About
A FFI binding to libmtp, an implementation of the Media Transfer Protocol.
Getting
- Latest release
git clone git://github.com/joachifm/hsmtp.git
Building
The preferred method of building is using cabal-install:
$ cd hsmtp
$ cabal configure
$ cabal build
$ cabal install
Usage
> import qualified MTP
> main = do
> MTP.init
> MTP.withFirstDevice MTP.getDeviceVersion
Author
Joachim Fasting \\
Licence
LGPL version 2.1 (see COPYING)