Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
6d49dccd
Commit
6d49dccd
authored
9 years ago
by
Richard Mudgett
Browse files
Options
Downloads
Patches
Plain Diff
DNS: Fix doxygen comments.
Change-Id: Icafea3fb4ea64ac027561b23cbfe2b17997dc549
parent
b705c09d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/asterisk/dns_internal.h
+2
-2
2 additions, 2 deletions
include/asterisk/dns_internal.h
main/dns_query_set.c
+8
-0
8 additions, 0 deletions
main/dns_query_set.c
with
10 additions
and
2 deletions
include/asterisk/dns_internal.h
+
2
−
2
View file @
6d49dccd
...
...
@@ -161,7 +161,7 @@ struct ast_dns_query_recurring {
struct
dns_query_set_query
{
/*! \brief Whether the query started successfully or not */
unsigned
int
started
;
/*! \brief T
H
e query itself */
/*! \brief T
h
e query itself */
struct
ast_dns_query
*
query
;
};
...
...
@@ -169,7 +169,7 @@ struct dns_query_set_query {
struct
ast_dns_query_set
{
/*! \brief DNS queries */
AST_VECTOR
(,
struct
dns_query_set_query
)
queries
;
/* \brief Whether the query set is in progress or not */
/*
!
\brief Whether the query set is in progress or not */
int
in_progress
;
/*! \brief The total number of completed queries */
int
queries_completed
;
...
...
This diff is collapsed.
Click to expand it.
main/dns_query_set.c
+
8
−
0
View file @
6d49dccd
...
...
@@ -117,6 +117,14 @@ int ast_dns_query_set_add(struct ast_dns_query_set *query_set, const char *name,
return
-
1
;
}
/*
* We are intentionally passing NULL for the user data even
* though dns_query_set_callback() is not NULL tolerant. Doing
* this avoids a circular reference chain until the queries are
* started. ast_dns_query_set_resolve_async() will set the
* query user_data for us later when we actually kick off the
* queries.
*/
query
.
query
=
dns_query_alloc
(
name
,
rr_type
,
rr_class
,
dns_query_set_callback
,
NULL
);
if
(
!
query
.
query
)
{
return
-
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment