diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-06-07 23:21:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:48 -0500 |
commit | ae6907c5c8695ef34ef16be3cad67a0d28ac5dfd (patch) | |
tree | da0ef9b48fdf3daae71573a9a4d442ac67a17e10 /source4/libnet | |
parent | fdc2be2cd6b48bfe5f9dbd3306714119f95bcaf2 (diff) | |
download | samba-ae6907c5c8695ef34ef16be3cad67a0d28ac5dfd.tar.gz samba-ae6907c5c8695ef34ef16be3cad67a0d28ac5dfd.tar.bz2 samba-ae6907c5c8695ef34ef16be3cad67a0d28ac5dfd.zip |
r7379: Simplify CreateUser function and io structure. Also, implementing
it based on composite functions. Moving to fully async CreateUser
on the way...
rafal
(This used to be commit 240409bc3cfa1426db15fc0537fcf0841f51ede0)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_user.h | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/source4/libnet/libnet_user.h b/source4/libnet/libnet_user.h index 29d97637bd..358f0d0b0f 100644 --- a/source4/libnet/libnet_user.h +++ b/source4/libnet/libnet_user.h @@ -25,23 +25,14 @@ enum libnet_CreateUser_level { }; -union libnet_CreateUser { - struct { - enum libnet_CreateUser_level level; - - struct _libnet_CreateUser_in { - const char *user_name; - const char *domain_name; - } in; - - struct _libnet_CreateUser_out { - const char *error_string; - } out; - } generic; +struct libnet_CreateUser { + enum libnet_CreateUser_level level; struct { - enum libnet_CreateUser_level level; - struct _libnet_CreateUser_in in; - struct _libnet_CreateUser_out out; - } samr; + const char *user_name; + const char *domain_name; + } in; + struct { + const char *error_string; + } out; }; |