diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-12-10 08:07:33 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-12-10 08:07:33 -0800 |
commit | b698bb706067d911c62385b477684efea6aa983a (patch) | |
tree | 09596eeefba83198a549c01d22497a07bc8d97d3 /lib.h | |
parent | 434ea4f4ce65a553205f4030a6b98268ff938f0f (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |