summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-10 08:07:33 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-10 08:07:33 -0800
commitb698bb706067d911c62385b477684efea6aa983a (patch)
tree09596eeefba83198a549c01d22497a07bc8d97d3 /lib.h
parent434ea4f4ce65a553205f4030a6b98268ff938f0f (diff)
downloadtxr-b698bb706067d911c62385b477684efea6aa983a.tar.gz
txr-b698bb706067d911c62385b477684efea6aa983a.tar.bz2
txr-b698bb706067d911c62385b477684efea6aa983a.zip
syslog support; bitwise logior and logand functions become variadic.
* Makefile: Use -iquote to restrict our #include search paths from being processed for #include <...>. Add syslog.o to OBJS-y if have_syslog is y. * configure (have_syslog): New variable, set by detecting syslog API. * eval.c (eval_init): logand and logior registrations changed to go to variadic versions. New syslog variables and functions registered. * lib.c (logandv, logiorv): New functions. * lib.h (logandv, logiorv): Declared. * txr.c (main): Call syslog_init. * syslog.c: New file. * syslog.h: New file. * txr.1: Updated. * txr.vim: Regenerated.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index c12690cc..d8656b07 100644
--- a/lib.h
+++ b/lib.h
@@ -490,6 +490,7 @@ val logtest(val, val);
val lognot(val, val);
val logtrunc(val a, val bits);
val ash(val a, val bits);
+val maskv(val bits);
val string_own(wchar_t *str);
val string(const wchar_t *str);
val string_utf8(const char *str);