projects
/
cl-inotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added two macros; more intro for the README.
[cl-inotify.git]
/
package.lisp
diff --git
a/package.lisp
b/package.lisp
index
1d29263
..
1951899
100644
(file)
--- a/
package.lisp
+++ b/
package.lisp
@@
-1,6
+1,6
@@
;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8; package: cl-user; -*-
;;; -*- 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
;; All rights reserved.
;; Redistribution and use in source and binary forms, with or without
@@
-38,14
+38,26
@@
;;; very raw
#:read-raw-event-from-stream
;;; very raw
#:read-raw-event-from-stream
+ ;;; basic stuff
#:close-inotify
#: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 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
;;; enhanced functionality
#:make-inotify
#:pathname-handle/flags
@@
-59,5
+71,9
@@
;;; convenience functions
#:list-watched
#:do-events
;;; convenience functions
#:list-watched
#:do-events
- #:next-events)
+ #:next-events
+
+ ;;; macros
+ #:with-inotify
+ #:with-unregistered-inotify)
(:documentation "A binding (not only?) for the LINUX inotify(7) API."))
(:documentation "A binding (not only?) for the LINUX inotify(7) API."))