Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
583
Issues
583
List
Boards
Labels
Service Desk
Milestones
Merge Requests
110
Merge Requests
110
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
d1f34ef4
Commit
d1f34ef4
authored
Sep 07, 2017
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4702. [func] Update function declarations to use
dns_masterstyle_flags_t for style flags. [RT #45924]
parent
40780aa3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
CHANGES
CHANGES
+3
-0
lib/dns/include/dns/masterdump.h
lib/dns/include/dns/masterdump.h
+8
-6
lib/dns/include/dns/rdata.h
lib/dns/include/dns/rdata.h
+1
-1
lib/dns/masterdump.c
lib/dns/masterdump.c
+4
-2
lib/dns/rdata.c
lib/dns/rdata.c
+2
-2
No files found.
CHANGES
View file @
d1f34ef4
4702. [func] Update function declarations to use
dns_masterstyle_flags_t for style flags. [RT #45924]
4701. [cleanup] Refactored lib/dns/tsig.c to reduce code
duplication and simplify the disabling of MD5.
[RT #45490]
...
...
lib/dns/include/dns/masterdump.h
View file @
d1f34ef4
...
...
@@ -406,18 +406,20 @@ dns_masterstyle_flags_t
dns_master_styleflags
(
const
dns_master_style_t
*
style
);
isc_result_t
dns_master_stylecreate
(
dns_master_style_t
**
style
,
unsigned
int
flags
,
dns_master_stylecreate
(
dns_master_style_t
**
style
,
dns_masterstyle_flags_t
flags
,
unsigned
int
ttl_column
,
unsigned
int
class_column
,
unsigned
int
type_column
,
unsigned
int
rdata_column
,
unsigned
int
line_length
,
unsigned
int
tab_width
,
isc_mem_t
*
mctx
);
isc_result_t
dns_master_stylecreate2
(
dns_master_style_t
**
style
,
unsigned
int
flags
,
unsigned
int
ttl_column
,
unsigned
int
class_column
,
unsigned
int
type_column
,
unsigned
int
rdata_column
,
unsigned
int
line_length
,
unsigned
int
tab_width
,
unsigned
int
split_width
,
isc_mem_t
*
mctx
);
dns_master_stylecreate2
(
dns_master_style_t
**
style
,
dns_masterstyle_flags_t
flags
,
unsigned
int
ttl_column
,
unsigned
int
class_column
,
unsigned
int
type_column
,
unsigned
int
rdata_column
,
unsigned
int
line_length
,
unsigned
int
tab_width
,
unsigned
int
split_width
,
isc_mem_t
*
mctx
);
void
dns_master_styledestroy
(
dns_master_style_t
**
style
,
isc_mem_t
*
mctx
);
...
...
lib/dns/include/dns/rdata.h
View file @
d1f34ef4
...
...
@@ -435,7 +435,7 @@ dns_rdata_totext(dns_rdata_t *rdata, const dns_name_t *origin,
isc_result_t
dns_rdata_tofmttext
(
dns_rdata_t
*
rdata
,
const
dns_name_t
*
origin
,
unsigned
in
t
flags
,
unsigned
int
width
,
dns_masterstyle_flags_
t
flags
,
unsigned
int
width
,
unsigned
int
split_width
,
const
char
*
linebreak
,
isc_buffer_t
*
target
);
/*%<
...
...
lib/dns/masterdump.c
View file @
d1f34ef4
...
...
@@ -2090,7 +2090,8 @@ dns_master_styleflags(const dns_master_style_t *style) {
}
isc_result_t
dns_master_stylecreate
(
dns_master_style_t
**
stylep
,
unsigned
int
flags
,
dns_master_stylecreate
(
dns_master_style_t
**
stylep
,
dns_masterstyle_flags_t
flags
,
unsigned
int
ttl_column
,
unsigned
int
class_column
,
unsigned
int
type_column
,
unsigned
int
rdata_column
,
unsigned
int
line_length
,
unsigned
int
tab_width
,
...
...
@@ -2103,7 +2104,8 @@ dns_master_stylecreate(dns_master_style_t **stylep, unsigned int flags,
}
isc_result_t
dns_master_stylecreate2
(
dns_master_style_t
**
stylep
,
unsigned
int
flags
,
dns_master_stylecreate2
(
dns_master_style_t
**
stylep
,
dns_masterstyle_flags_t
flags
,
unsigned
int
ttl_column
,
unsigned
int
class_column
,
unsigned
int
type_column
,
unsigned
int
rdata_column
,
unsigned
int
line_length
,
unsigned
int
tab_width
,
...
...
lib/dns/rdata.c
View file @
d1f34ef4
...
...
@@ -116,7 +116,7 @@
*/
typedef
struct
dns_rdata_textctx
{
const
dns_name_t
*
origin
;
/*%< Current origin, or NULL. */
unsigned
in
t
flags
;
/*%< DNS_STYLEFLAG_* */
dns_masterstyle_flags_
t
flags
;
/*%< DNS_STYLEFLAG_* */
unsigned
int
width
;
/*%< Width of rdata column. */
const
char
*
linebreak
;
/*%< Line break string. */
}
dns_rdata_textctx_t
;
...
...
@@ -1142,7 +1142,7 @@ dns_rdata_totext(dns_rdata_t *rdata, const dns_name_t *origin,
isc_result_t
dns_rdata_tofmttext
(
dns_rdata_t
*
rdata
,
const
dns_name_t
*
origin
,
unsigned
in
t
flags
,
unsigned
int
width
,
dns_masterstyle_flags_
t
flags
,
unsigned
int
width
,
unsigned
int
split_width
,
const
char
*
linebreak
,
isc_buffer_t
*
target
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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