Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
return 0;
}
-static int show_share(struct db_record *rec,
- const struct connections_key *key,
+static int show_share(const struct connections_key *key,
const struct connections_data *crec,
void *state)
{
"-------------------------------------"
"------------------\n"));
- connections_forall(show_share, NULL);
+ connections_forall_read(show_share, NULL);
return 0;
}