diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-07-02 14:32:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:05 -0500 |
commit | e6b54f7acf45abcbc81d192bf618034a075c4d18 (patch) | |
tree | 542335a09bdfd1f8bfac30b081d52b475f9ce25b /source4/libnet/libnet.h | |
parent | d5f76aad22de307e407628c3cbb825c4956f1f79 (diff) | |
download | samba-e6b54f7acf45abcbc81d192bf618034a075c4d18.tar.gz samba-e6b54f7acf45abcbc81d192bf618034a075c4d18.tar.bz2 samba-e6b54f7acf45abcbc81d192bf618034a075c4d18.zip |
r8076: Put name resolution methods into libnet_context. This allows libnet based
application use methods of their own choice and makes it less dependent on
smb.conf parameters.
Use libnet_context in libnet_Lookup functions which is the way to pass
default name resolution methods if caller doesn't want to bother with
specifying them.
rafal
(This used to be commit d0ea136356bcb9c6c01120d8683b71e8689d5e5b)
Diffstat (limited to 'source4/libnet/libnet.h')
-rw-r--r-- | source4/libnet/libnet.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h index 470c98dca9..18dc376628 100644 --- a/source4/libnet/libnet.h +++ b/source4/libnet/libnet.h @@ -25,13 +25,16 @@ struct libnet_context { */ struct cli_credentials *cred; - /* dcerpc pipes */ - struct dcerpc_pipe *samr; + /* pipe */ + struct dcerpc_pipe *pipe; /* opened handles */ struct policy_handle domain_handle; struct policy_handle user_handle; + /* name resolution methods */ + char **name_res_methods; + struct event_context *event_ctx; }; |