diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-22 01:35:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:10 -0500 |
commit | 455be8fb8271bd97058390dca5a76db81ea2928b (patch) | |
tree | 7e4f4856e5d43f07cb2a216a8ed0fc988649d1a6 /source4/gtk/common/gtk-smb.h | |
parent | b7676c4b48f2d39446b853bc87c0b288ac368e36 (diff) | |
download | samba-455be8fb8271bd97058390dca5a76db81ea2928b.tar.gz samba-455be8fb8271bd97058390dca5a76db81ea2928b.tar.bz2 samba-455be8fb8271bd97058390dca5a76db81ea2928b.zip |
r5932: Use cli_credentials somewhat more in the Gtk+ code
Support ncacn_spx in DCE/RPC bindings.
(This used to be commit a0233a3a9a83176ae46873d3a25ed601758a1511)
Diffstat (limited to 'source4/gtk/common/gtk-smb.h')
-rw-r--r-- | source4/gtk/common/gtk-smb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/gtk/common/gtk-smb.h b/source4/gtk/common/gtk-smb.h index e78e8541f8..0a7bbcba00 100644 --- a/source4/gtk/common/gtk-smb.h +++ b/source4/gtk/common/gtk-smb.h @@ -45,6 +45,7 @@ struct _GtkRpcBindingDialog GtkWidget *frame_credentials; TALLOC_CTX *mem_ctx; struct sam_pipe *sam_pipe; + struct cli_credentials *credentials; }; typedef struct _GtkRpcBindingDialogClass GtkRpcBindingDialogClass; @@ -62,14 +63,14 @@ struct _GtkRpcBindingDialogClass /* subsystem prototypes */ GtkWidget *create_gtk_samba_about_dialog (const char *appname); -void gtk_show_ntstatus(GtkWidget *win, NTSTATUS status); +void gtk_show_ntstatus(GtkWidget *win, const char *, NTSTATUS status); GtkWidget *gtk_rpc_binding_dialog_new (BOOL nocredentials, struct sam_pipe *sam_pipe); GType gtk_rpc_binding_dialog_get_type (void); struct dcerpc_binding *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, TALLOC_CTX *mem_ctx); GtkWidget *gtk_select_host_dialog_new (struct sam_pipe *sam_pipe, BOOL nocredentials); const char *gtk_select_host_dialog_get_host (GtkSelectHostDialog *d); GType gtk_select_host_dialog_get_type (void); -void gtk_show_werror(GtkWidget *win, WERROR err); +void gtk_show_werror(GtkWidget *win, const char *, WERROR err); const char *gtk_rpc_binding_dialog_get_binding_string(GtkRpcBindingDialog *d, TALLOC_CTX *mem_ctx); struct cli_credentials *gtk_rpc_binding_dialog_get_credentials(GtkRpcBindingDialog *d); const char *gtk_rpc_binding_dialog_get_host(GtkRpcBindingDialog *d); |