diff options
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; }; |