Lib::IXP - binding for libixp


Lib-IXP documentation Contained in the Lib-IXP distribution.

Index


Code Index:

NAME

Top

Lib::IXP - binding for libixp

SYNOPSIS

Top

   #
   # See perlwmii.pl from examples directory of this tarball
   # You need to customize a little bit for now, and then copy it
   # to your ~/.wmii/wmiirc file.
   #

DESCRIPTION

Top

Lib::IXP is a binding for the libixp library. This library is used to configure wmii, a window manager. Thus, this binding is used to configure wmii from a Perl program.

libixp may be found at: http://www.suckless.org/libs/libixp.html

wmii may be found at: http://www.suckless.org/wmii/

LOW-LEVEL FUNCTIONS

Top

ixp_mount (scalar)
ixp_mountfd (scalar)
ixp_unmount (scalar)
ixp_clientfd (scalar)
ixp_create (scalar, scalar, scalar, scalar)
ixp_open (scalar, scalar, scalar)
ixp_remove (scalar, scalar)
ixp_stat (scalar, scalar)
ixp_read (scalar, scalar, scalar)
ixp_write (scalar, scalar, scalar)
ixp_close (scalar)
ixp_errbuf ()
ixp_message (scalar, scalar, scalar)

HIGH-LEVEL FUNCTIONS

Top

xread (scalar, scalar, scalar)
xwrite (scalar, scalar, scalar)
xls (scalar, scalar)
xcreate (scalar, scalar, scalar)
xremove (scalar, scalar)

AUTHOR

Top

Patrice <GomoR> Auffret

COPYRIGHT AND LICENSE

Top


Lib-IXP documentation Contained in the Lib-IXP distribution.

#
# $Id: IXP.pm 18 2010-06-03 13:50:07Z gomor $
#
package Lib::IXP;
use strict; use warnings;

our $VERSION = '0.11';

use Exporter;
use DynaLoader;
our @ISA = qw(Exporter DynaLoader);
our %EXPORT_TAGS = (
   subs => [qw(
      ixp_mount
      ixp_mountfd
      ixp_unmount
      ixp_clientfd
      ixp_create
      ixp_open
      ixp_remove
      ixp_stat
      ixp_read
      ixp_write
      ixp_close
      ixp_errbuf
      xls
      xread
      xwrite
      xcreate
      xremove
   )],
   consts => [qw(
      P9_OREAD
      P9_OWRITE
      P9_ORDWR
      P9_DMDIR
   )],
);
our @EXPORT = (
   @{$EXPORT_TAGS{subs}},
   @{$EXPORT_TAGS{consts}},
);

__PACKAGE__->bootstrap($VERSION);

use constant P9_OREAD  => 0;
use constant P9_OWRITE => 1;
use constant P9_ORDWR  => 2;

use constant P9_DMDIR => 0x80000000;

1;

__END__