search for: all_entries

Displaying 2 results from an estimated 2 matches for "all_entries".

Did you mean: acl_entries
2007 May 25
0
[new script] smbldap-userlist
...$mesg = $ldap_master->search ( base => $config{suffix}, scope => $config{scope}, filter => $filter ); $mesg->code && die $mesg->error; foreach my $entry ($mesg->all_entries) { print_user($entry,%Options); } ######################################## =head1 NAME smbldap-listusers list users or machines with some info =head1 SYNOPSIS smbldap-listusers [-m] [-g] [-p] =head1 DESCRIPTION -g Show gecos entry -d Show when the user last changed his or her pa...
2011 Apr 01
0
[GIT PULL] elflink cmdline
...TH] = {"width", 0}, @@ -420,6 +421,17 @@ static struct menu *end_submenu(void) return current_menu->parent ? current_menu->parent : current_menu; } +void print_labels(const char *prefix, size_t len) +{ + struct menu_entry *me; + + printf("\n"); + for (me = all_entries; me; me = me->next ) { + if (!strncmp(prefix, me->label, len)) + printf(" %s\n", me->label); + } +} + static struct menu_entry *find_label(const char *str) { const char *p; @@ -606,6 +618,78 @@ static char *is_message_name(char *cmdstr, enum message_number *msgnr)...