Ted Lemon
a5fc6758ef
Use suffix.len, not substring.len, when evaluating suffix operator.
2000-09-27 19:19:32 +00:00
Damien Neil
3c98e80b46
Added binary operators: & | ^.
2000-08-28 21:22:41 +00:00
Damien Neil
1b234d446f
Finished up function call support.
2000-08-28 19:36:39 +00:00
Damien Neil
2541d05703
Fixes bug #246 .
...
(null or true) is now true, rather than null.
2000-08-22 21:21:54 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
0e97ecc852
- Make and and or evaluate only the lhs if the lhs will determine the
...
outcome of the evaluation.
- Fix debugging code.
2000-07-06 10:00:53 +00:00
Ted Lemon
55321a210e
Clean up a possible memory smash in the binding code.
2000-06-12 22:22:09 +00:00
Ted Lemon
165bce70b2
Fix up various platform-specific errors.
2000-05-17 16:04:26 +00:00
Ted Lemon
0bcad76189
Add the numeric operators to is_numeric_expression.
2000-03-18 03:32:53 +00:00
Ted Lemon
7d9784f6fc
Patch in TSIG, just to see how to get it to work.
2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
622b281781
Add more status variables.
2000-03-06 23:21:38 +00:00
Ted Lemon
800f0de793
Add support for functions, as well as arithmetic operators.
2000-02-15 19:39:48 +00:00
Ted Lemon
9f7050df70
Add support for function calls and typed variables.
2000-02-05 17:45:20 +00:00
Ted Lemon
44fe7220d1
Take advantage of hacked resolver.
2000-02-03 04:31:46 +00:00
Ted Lemon
9458e9aa07
Minor solaris fixes.
2000-02-02 20:01:50 +00:00
Ted Lemon
88c32c8c25
Hack private resolver namespace to avoid link clashes.
2000-02-02 08:01:52 +00:00
Ted Lemon
7e799df19d
Support the private resolver.
2000-02-02 07:22:33 +00:00
Ted Lemon
37e365b490
- In reference count history, remember the address where the reference
...
is stored as well as the address of the thing referenced.
2000-01-27 22:40:55 +00:00
Ted Lemon
5d959a403d
res_freeupdrec will free r_dname, so we shouldn't.
2000-01-26 17:22:58 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
4cbc378fc9
Support variable scoping, malloc debug, filename and server-name ops.
2000-01-25 01:16:14 +00:00
Ted Lemon
2e23650878
- Add support for DNS return codes.
...
- Add support for null, defined and variable reference expressions.
2000-01-08 01:38:52 +00:00
Ted Lemon
4bae15ec3f
Handle new DNS expressions.
2000-01-05 18:05:46 +00:00
Ted Lemon
d9eefc5dec
Mass commit for Brian Murrell.
1999-11-20 18:36:32 +00:00
Ted Lemon
2b965a4475
Add != operator.
1999-11-03 16:10:46 +00:00
Ted Lemon
cc5bd211bf
Add support for an ignore return value to boolean option evaluators.
1999-10-21 02:35:40 +00:00
Ted Lemon
7b4f1c069a
Compute arguments to packet operator correctly.
1999-10-19 15:31:40 +00:00
Ted Lemon
06afba54ec
Correct printf argument type (Brian Murrell)
1999-10-14 18:00:46 +00:00
Ted Lemon
ab58ff49e0
Fix up args to printf-like functions (thanks to Pedro Ribiero).
1999-10-12 16:00:34 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
77a5f87162
Fix up char * -> unsigned char * mismatches.
1999-10-07 02:14:10 +00:00
Ted Lemon
1bac8ce59c
Pass data strings to nsdeleteA and nsdeletePTR by reference.
1999-10-06 01:35:44 +00:00
Ted Lemon
2dbc95d686
- Fix a bunch of pastos (from Brian Murrell).
...
- Implement dns-delete (from Brian Murrell).
1999-10-06 01:01:13 +00:00
Ted Lemon
846d7d5441
- Delete dns-fwd-name and dns-rev-name expressions and replace with
...
updated-dns-rr (rrtype).
1999-10-05 19:43:44 +00:00
Ted Lemon
06a8567cf8
Implement ddns-fwd-name and ddns-rev-name subexpressions.
1999-10-05 19:01:33 +00:00
Ted Lemon
bb27c66f90
exists -> config-option, courtesy of Brian Murrell.
1999-10-04 23:17:37 +00:00
Ted Lemon
b860910b35
Incorporate a bunch of changes from Brian Murrell.
1999-10-04 23:15:43 +00:00
Ted Lemon
e05e0b0b8a
- Account for the fact that concat and pick-first-value both use lisp-style
...
lists, which end in a nil.
1999-09-24 19:04:30 +00:00
Ted Lemon
361c0ac4e8
Print the RHS of the binary operator on the RHS instead of the LHS.
1999-09-22 17:27:01 +00:00
Ted Lemon
fa098be8f9
Implement printing out of expressions so that they can be output to the lease database file and later read back in.
1999-09-22 01:45:57 +00:00
Ted Lemon
0ddb129d9f
Type cast fixes for Solaris.
1999-09-16 01:10:19 +00:00
Ted Lemon
e92653f1ec
Bug fixes courtesy of Brian Murrell
1999-09-09 23:53:29 +00:00
Ted Lemon
1c5d573185
- Add a static operator indicating whether the client's lease is static.
1999-08-01 14:26:57 +00:00
Ted Lemon
b5b7abf8b6
Change behaviour of concat so that any null argument produces a null result.
1999-07-31 23:24:33 +00:00
Ted Lemon
a8a20d8aa2
Flag expr_known as a boolean expression.
1999-07-31 20:23:19 +00:00
Ted Lemon
4038ec529e
- Regularize expression evaluation calls so that they are all passed a pointer
...
to the incoming packet, if any, the current lease, if any, the parsed
incoming options, and the in-scope configuration file options.
- Incoming packets are now reference counted, so that the callee can save
them for later expression evaluation (e.g., in dhcp_reply).
1999-07-31 18:03:55 +00:00
Ted Lemon
a3e296e4e1
config-option is a data expression (from Brian Murrell).
1999-07-21 20:58:17 +00:00
Ted Lemon
e23f8b44f6
Add seperate implementation for config-option.
1999-07-21 19:26:55 +00:00
Ted Lemon
4f4d982cbd
- Enhance dns-update evaluation.
...
- Fix up debugging messages.
(From Brian Murrell)
1999-07-21 14:28:57 +00:00