Skip to content

Common Lisp implementation of the SANE network protocol

License

Notifications You must be signed in to change notification settings

JMC-design/nsane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nsane

Common Lisp implementation of the SANE network protocol

This package is NOT meant to be :USEd This is not a frontend, it is just an implementation of the protocol in common lisp so anybody can write a frontend using it. There is one additional function besides the protocol, RETRIEVE-SCAN that will retrieve and return a scan as vector.

nsane:*socket* needs to be bound to a socket returned by nsane:init before any other protocol functions are used.

Functions follow the naming convention of the protocol with SANE_NET_ dropped from the function and then kebobbed, e.g. SANE_NET_GET_OPTION_DESCRIPTORS becomes nsane:get-option-descriptors.

If you're interested in a stream interface to be used with other socket implementations besides usocket, let me know/raise an issue.

About

Common Lisp implementation of the SANE network protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published