@@ -24,7 +24,7 @@ int main()
2424
2525 rc = get_comdb2db_hosts (NULL ,NULL , NULL , & master ,
2626 NULL , & num_hosts , NULL ,NULL ,
27- NULL , & num_db_hosts , NULL , 1 );
27+ NULL , & num_db_hosts , NULL , 1 , NULL , NULL );
2828
2929 assert (rc == -1 );
3030 assert (num_hosts == -1 );
@@ -34,7 +34,7 @@ int main()
3434
3535 rc = get_comdb2db_hosts (NULL ,NULL , NULL , & master ,
3636 NULL , & num_hosts , NULL ,NULL ,
37- NULL , & num_db_hosts , NULL , 1 ); //just get defaults
37+ NULL , & num_db_hosts , NULL , 1 , NULL , NULL ); //just get defaults
3838
3939 assert (rc == 0 );
4040 assert (num_hosts == 0 );
@@ -47,7 +47,7 @@ int main()
4747 char db_hosts [MAX_NODES ][CDB2HOSTNAME_LEN ] = {0 };
4848 rc = get_comdb2db_hosts (NULL , comdb2db_hosts , NULL , & master ,
4949 NULL , & num_hosts , NULL , NULL ,
50- db_hosts , & num_db_hosts , NULL , 1 );
50+ db_hosts , & num_db_hosts , NULL , 1 , NULL , NULL );
5151
5252 assert (rc == 0 );
5353 assert (num_db_hosts == 0 );
@@ -66,7 +66,7 @@ int main()
6666 char db_hosts [MAX_NODES ][CDB2HOSTNAME_LEN ] = {0 };
6767 rc = get_comdb2db_hosts (NULL , comdb2db_hosts , NULL , & master ,
6868 NULL , & num_hosts , NULL , NULL ,
69- db_hosts , & num_db_hosts , NULL , 1 );
69+ db_hosts , & num_db_hosts , NULL , 1 , NULL , NULL );
7070
7171 assert (rc == 0 );
7272 assert (num_hosts == 0 );
@@ -86,7 +86,7 @@ int main()
8686 int comdb2db_num = 0 ;
8787 rc = get_comdb2db_hosts (NULL , comdb2db_hosts , NULL , & master ,
8888 NULL , & num_hosts , & comdb2db_num , NULL ,
89- db_hosts , & num_db_hosts , NULL , 1 );
89+ db_hosts , & num_db_hosts , NULL , 1 , NULL , NULL );
9090
9191 assert (rc == 0 );
9292 assert (num_hosts == 3 );
@@ -106,7 +106,7 @@ int main()
106106 int comdb2db_num = 0 ;
107107 rc = get_comdb2db_hosts (NULL , comdb2db_hosts , NULL , & master ,
108108 NULL , & num_hosts , & comdb2db_num , NULL ,
109- db_hosts , & num_db_hosts , NULL , 1 );
109+ db_hosts , & num_db_hosts , NULL , 1 , NULL , NULL );
110110
111111 assert (rc == -1 );
112112 assert (num_hosts == 0 );
@@ -123,7 +123,7 @@ int main()
123123 int comdb2db_num = 0 ;
124124 rc = get_comdb2db_hosts (NULL , comdb2db_hosts , NULL , & master ,
125125 NULL , & num_hosts , & comdb2db_num , NULL ,
126- db_hosts , & num_db_hosts , NULL , 1 );
126+ db_hosts , & num_db_hosts , NULL , 1 , NULL , NULL );
127127
128128 assert (rc == 0 );
129129 assert (num_hosts == 3 );
0 commit comments