Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
dd3d17d3
Commit
dd3d17d3
authored
Feb 17, 1999
by
Mark Andrews
Browse files
initalisation routines need to return dns_result_t
parent
d97e14cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/design/compression
View file @
dd3d17d3
...
...
@@ -67,15 +67,15 @@ Functions:
Returns allowed compression methods based on type, edns, and whether
we are about to compress a owner name.
void
dns_result_t
dns_compress_init(dns_compress_t *cctx, isc_boolean_t global16,
isc_mem_t *mctx);
Initalises cctx to empty and sets whether 16 bit global
compression targets are to be added to the global RBT.
void
dns_compress_localinit(dns_compress_t *cctx, dns_name_t owner,
dns_result_t
dns_compress_localinit(dns_compress_t *cctx, dns_name_t
*
owner,
isc_buffer_t *target);
Initalise a RBT for local compression, freeing and existing RBT.
...
...
@@ -108,3 +108,9 @@ Functions:
dns_rbt_t *global; /* Global RBT */
isc_mem_t *mctx; /* Required by RBT */
};
Dependancy:
Requires RBT deepest match.
Requires the ability to walk the RBT and remove any node which
meets the removal condition.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment