14
14
* limitations under the License.
15
15
*/
16
16
17
- #include "mongoc-host-list.h"
18
- #include "mongoc-util-private.h"
17
+ #include "mongoc-host-list-private.h"
19
18
20
19
21
20
/*
22
21
*--------------------------------------------------------------------------
23
22
*
24
- * mongoc_host_list_equal --
23
+ * _mongoc_host_list_equal --
25
24
*
26
25
* Check two hosts have the same domain (case-insensitive), port,
27
26
* and address family.
32
31
*--------------------------------------------------------------------------
33
32
*/
34
33
bool
35
- mongoc_host_list_equal (const mongoc_host_list_t * host_a ,
36
- const mongoc_host_list_t * host_b )
34
+ _mongoc_host_list_equal (const mongoc_host_list_t * host_a ,
35
+ const mongoc_host_list_t * host_b )
37
36
{
38
37
return (!strcasecmp (host_a -> host_and_port , host_b -> host_and_port )
39
38
&& host_a -> family == host_b -> family );
@@ -43,14 +42,14 @@ mongoc_host_list_equal (const mongoc_host_list_t *host_a,
43
42
/*
44
43
*--------------------------------------------------------------------------
45
44
*
46
- * mongoc_host_list_destroy_all --
45
+ * _mongoc_host_list_destroy_all --
47
46
*
48
47
* Destroy whole linked list of hosts.
49
48
*
50
49
*--------------------------------------------------------------------------
51
50
*/
52
51
void
53
- mongoc_host_list_destroy_all (mongoc_host_list_t * host )
52
+ _mongoc_host_list_destroy_all (mongoc_host_list_t * host )
54
53
{
55
54
mongoc_host_list_t * tmp ;
56
55
0 commit comments