diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-09 14:32:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-09 14:32:29 +0000 |
commit | 375a780e06fb93dae504be3d3ea9df7efd0d5c1b (patch) | |
tree | 79d24a3aaff0aaf4420ab3b39f858f77a4e3aa7b /newlib/libc/stdio/makebuf.c | |
parent | 5558de95e59c62d23d70f64fb7dc510f4f77477f (diff) | |
download | cygnal-375a780e06fb93dae504be3d3ea9df7efd0d5c1b.tar.gz cygnal-375a780e06fb93dae504be3d3ea9df7efd0d5c1b.tar.bz2 cygnal-375a780e06fb93dae504be3d3ea9df7efd0d5c1b.zip |
* mkgroup.c: Use statically linked functions throughout, except for
DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(psx_dir): Remove.
(uni2ansi): Remove.
(enum_local_users): Take server name and use in Net... call.
(DBGSID): Define datastructure.
(MAX_BUILTIN_SIDS): Define.
(builtin_sid_list): Define global sid list.
(builtin_sid_cnt): Define counter for global sid list.
(enum_local_groups): Take server name and use in Net... and Lookup...
calls. Take offset argument. Use MAX_PREFERRED_LENGTH in call to
NetLocalGroupEnum. Check for duplicate builtin groups.
(enum_users): Take server name and use in Net... call.
(usage): Change text slightly.
(print_version): Fix copyright.
(main): Call enum_local_groups for domains as well.
* mkpasswd.c: Use statically linked functions throughout, except for
DsGetDcNameW. Reformat. Convert to use WCHAR for names throughout.
Use defines instead of constants throughout.
(MAX_SID_LEN): Define.
(load_netapi): Just load DsGetDcNameW pointer.
(uni2ansi): Use wcstombs.
(current_user): Replace "unused_by_nt/2000/xp" by
just "unused".
(enum_users): Ditto.
(print_version): Fix copyright.
Diffstat (limited to 'newlib/libc/stdio/makebuf.c')
0 files changed, 0 insertions, 0 deletions