Readme for mtp-0.1.1.1
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 <joachim.fasting@gmail.com>
Licence
LGPL version 2.1 (see COPYING)