udev-0.1.1.0: libudev bindings
Copyright(c) Sam Truzjan 2013
LicenseBSD3
Maintainerpxqr.sta@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

System.UDev.List

Description

Libudev list operations.

Synopsis

Documentation

data List Source #

Opaque object representing one entry in a list. An entry contains contains a name, and optionally a value.

Instances

Instances details
Eq List Source # 
Instance details

Defined in System.UDev.Types

Methods

(==) :: List -> List -> Bool #

(/=) :: List -> List -> Bool #

getNext :: List -> IO (Maybe List) Source #

Get the next entry from the list.

getByName :: List -> IO (Maybe List) Source #

Lookup an entry in the list with a certain name.

getName :: List -> IO ByteString Source #

Get the name of a list entry.

getValue :: List -> IO ByteString Source #

Get the value of list entry.