mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
9d8d4f24b1
commit
9e69c4fbea
@ -5197,6 +5197,18 @@ struct share_params *next_share(struct share_iterator *list)
|
||||
return result;
|
||||
}
|
||||
|
||||
struct share_params *next_printer(struct share_iterator *list)
|
||||
{
|
||||
struct share_params *result;
|
||||
|
||||
while ((result = next_share(list)) != NULL) {
|
||||
if (lp_print_ok(result->service)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
A useful volume label function.
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user