Peter Johnson
c8fc061ea6
Ditch longs and long longs in favor of stdint.h types, which has cascading
...
effects throughout, including use of inttypes.h/PRI[ud]64 because printf() is
still stuck in a long world, conversion of %lu to %zu for printing values of
type size_t, and changing/renaming the g_check_cmp* family of functions.
2013-11-15 00:12:57 -05:00
Dan Hirsch
b0f567c090
Added new build system
2013-07-10 21:32:05 +02:00
Dan Hirsch
e9a7c0b83d
Added new SConscript-based build system; not yet done porting
2013-06-24 21:26:07 +02:00
Dan Hirsch
d71215d494
All tests pass; lots of stuff is no longer const
2013-05-24 15:07:47 +02:00
Sven M. Hallberg
4041a5865c
pass rr by reference to set_rdata
2013-04-13 14:42:36 +02:00
Sven M. Hallberg
f1f7c4f488
remove dependency on internal.h for base64_sem2
2013-02-17 17:00:04 +01:00
Sven M. Hallberg
51b9082837
remove obsolete dependency on internal.h
2013-02-17 16:49:25 +01:00
Sven M. Hallberg
d9c2c921c4
use H_MAKE_SEQN in base64_sem1
2013-02-17 16:48:35 +01:00
Sven M. Hallberg
af23f3bbf3
add more glue functions in base64_sem1
2013-02-17 16:45:29 +01:00
Sven M. Hallberg
a5c579c23d
switch semantic base64 examples to pre-fab actions provided by glue.h
2013-02-17 15:53:43 +01:00
Sven M. Hallberg
b06a98ce26
fix linking of base64 example
2013-02-17 15:47:18 +01:00
Sven M. Hallberg
cc912fa98e
Merge branch 'glue' into base64-example
2013-02-17 15:26:15 +01:00
Sven M. Hallberg
dd763f0c07
Merge branch 'master' into base64-example
2013-02-17 15:25:58 +01:00
Sven M. Hallberg
195e50a7f1
move glue.[ch] into the library proper
2013-02-17 15:24:13 +01:00
Sven M. Hallberg
e95aef0b09
add some docs to glue.h
2013-02-01 01:42:10 +01:00
Sven M. Hallberg
7149260a13
make h_cast a family of macros, add H_ASSERT family, make h_assert_type a macro
2013-01-25 21:52:11 +01:00
Sven M. Hallberg
18fbf6fd69
replace casting h_seq_index functions with H_INDEX macro family,
...
supporting varargs
2013-01-25 21:09:23 +01:00
Sven M. Hallberg
811c68fdf2
let H_INDEX and H_FIELD accept varargs for nested sequence access
2013-01-25 20:47:51 +01:00
Sven M. Hallberg
64c44522e9
use new glue api in rr.c
2013-01-25 20:17:37 +01:00
Sven M. Hallberg
b6856fdfbf
indentation fix
2013-01-25 19:32:09 +01:00
Sven M. Hallberg
53bc7af36a
use more glue in dns.c
2013-01-25 19:31:10 +01:00
Sven M. Hallberg
102d9e2c86
add h_seq_elements accessor
2013-01-25 19:24:04 +01:00
Sven M. Hallberg
2f312b8c1f
use H_CAST in set_rdata
2013-01-25 19:16:25 +01:00
Sven M. Hallberg
690a17b1f6
fix semantic action on A records
2013-01-25 19:12:01 +01:00
Sven M. Hallberg
0e37c6b8a1
apply some simplifications to dns example
2013-01-25 19:11:02 +01:00
Sven M. Hallberg
6e166174d6
add H_FIELD variants for built-in types
2013-01-25 19:06:28 +01:00
Sven M. Hallberg
b58b82b473
add h_seq_len
2013-01-25 18:52:07 +01:00
Sven M. Hallberg
118c03c534
move h_seq modification functions around to match the order in the header
2013-01-25 18:46:20 +01:00
Sven M. Hallberg
dbb77c0c55
ah, it's not an slist, forget about cons and prepend for now
2013-01-25 18:42:45 +01:00
Sven M. Hallberg
0b4002c697
add definitions for h_seq_index family of functions
2013-01-25 18:37:04 +01:00
Sven M. Hallberg
d6ef9ac526
add definitions for h_cast family of functions
2013-01-25 18:32:01 +01:00
Sven M. Hallberg
70aaf1308c
massage glue api around some, add a bunch of dummy declarations
2013-01-25 18:12:00 +01:00
Sven M. Hallberg
71cdd46ceb
expand h_make family to include seq, bytes, sint, and uint tokens
2013-01-23 19:29:29 +01:00
Sven M. Hallberg
54046e25da
forgot to allocate the carray in h_make_seq (oops)
2013-01-23 19:24:13 +01:00
Sven M. Hallberg
3df4030bf8
cosmetics
2013-01-23 19:10:36 +01:00
Sven M. Hallberg
2c90bd3ef5
rename: h_seq_index_user -> h_seq_index -> h_seq_index_token
2013-01-23 19:06:25 +01:00
Sven M. Hallberg
2d53a0f873
mark h_carray_index as meant to be internal
2013-01-23 18:30:55 +01:00
Sven M. Hallberg
4c8b0086d7
rename H_MAKE_TOKEN to H_MAKE and remove 'token' from other function names
2013-01-23 18:28:50 +01:00
Sven M. Hallberg
ef17e42ec8
rename H_MAKE to H_ALLOC
2013-01-23 18:17:17 +01:00
Sven M. Hallberg
dc037e6c28
organize definitions in glue.h a little
2013-01-23 18:16:14 +01:00
Sven M. Hallberg
1b0c61fc15
cosmetics
2013-01-23 16:57:59 +01:00
Sven M. Hallberg
d0d115f206
wrap only non-null rdata parsers with h_end_p
2013-01-23 16:55:26 +01:00
Sven M. Hallberg
8dea41c237
condense the packing table in set_rdata a little
2013-01-17 22:20:58 +01:00
Sven M. Hallberg
c9d3101f41
a comment
2013-01-17 21:59:55 +01:00
Sven M. Hallberg
e6a546b95b
make actions for the remaining RDATA types
2013-01-17 21:58:17 +01:00
Sven M. Hallberg
4d40940493
move WKS into action
2013-01-17 21:39:32 +01:00
Sven M. Hallberg
b88d6ca34a
move SOA processing into an action
2013-01-17 21:35:33 +01:00
Sven M. Hallberg
8fbc137223
move get_cs into an action
2013-01-17 20:49:26 +01:00
Sven M. Hallberg
0304c75bba
correct improper uses of H_FIELD on domain-only RDATAs
2013-01-17 19:17:23 +01:00
Sven M. Hallberg
b953b9a763
move get_txt into an action building the whole dns_rr_txt structure
2013-01-17 19:13:06 +01:00