@hackage mtp0.1.1.1

Bindings to libmtp

About

A FFI binding to libmtp, an implementation of the Media Transfer Protocol.

Getting

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)