-;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8; package: cl-user; -*-
+;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-user; -*-
;; Copyright (c) 2011-12, Olof-Joachim Frahm
;; All rights reserved.
(:use #:cl #:cffi)
(:import-from #:osicat-posix #:defsyscall)
(:export ;;; used types for documentation
- #:inotify-add/read-flag
- #:inotify-read-flag
- #:inotify-add-flag
-
- ;;; 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
- #:event-pathname/flags
- #:watch
- #:unwatch
- #:event-availablep
- #:read-event
- #:next-event
-
- ;;; convenience functions
- #:list-watched
- #:do-events
- #:next-events
-
- ;;; macros
- #:with-inotify
- #:with-unregistered-inotify
- #:with-inotify-event-handler
-
- #:run-inotify-program)
+ #:inotify-add/read-flag
+ #:inotify-read-flag
+ #:inotify-add-flag
+
+ ;;; 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
+ #:event-pathname/flags
+ #:watch
+ #:unwatch
+ #:event-availablep
+ #:read-event
+ #:next-event
+
+ ;;; convenience functions
+ #:list-watched
+ #:do-events
+ #:next-events
+
+ ;;; macros
+ #:with-inotify
+ #:with-unregistered-inotify)
(:documentation "A binding (not only?) for the LINUX inotify(7) API."))