X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=package.lisp;h=050041671808b3be2c87caf4b0015d1159ee46c9;hb=da749411569c2763b265fe56a2c128b7991efde0;hp=1d29263e90d03622f2f6d37466669c084571457f;hpb=af0cde5795a4dcab405a27cea311bea1c26b5606;p=cl-inotify.git diff --git a/package.lisp b/package.lisp index 1d29263..0500416 100644 --- a/package.lisp +++ b/package.lisp @@ -1,6 +1,6 @@ ;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8; package: cl-user; -*- -;; Copyright (c) 2011, Olof-Joachim Frahm +;; Copyright (c) 2011-12, Olof-Joachim Frahm ;; All rights reserved. ;; Redistribution and use in source and binary forms, with or without @@ -30,6 +30,7 @@ (defpackage cl-inotify (:use #:cl #:cffi) + (:import-from #:osicat-posix #:defsyscall) (:export ;;; used types for documentation #:inotify-add/read-flag #:inotify-read-flag @@ -38,14 +39,26 @@ ;;; very raw #:read-raw-event-from-stream + ;;; basic stuff #:close-inotify + ;;; inotify accessors + #:inotify-fd + #:inotify-stream + #:inotify-nonblocking + ;;; event parsing functions #:make-unregistered-inotify #:read-event-from-stream #:watch-raw #:unwatch-raw + ;;; event accessors + #:inotify-event-wd + #:inotify-event-mask + #:inotify-event-cookie + #:inotify-event-name + ;;; enhanced functionality #:make-inotify #:pathname-handle/flags @@ -59,5 +72,12 @@ ;;; convenience functions #:list-watched #:do-events - #:next-events) + #:next-events + + ;;; macros + #:with-inotify + #:with-unregistered-inotify + #:with-inotify-event-handler + + #:run-inotify-program) (:documentation "A binding (not only?) for the LINUX inotify(7) API."))