summaryrefslogtreecommitdiff
path: root/source4/gtk/common/gtk-smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/common/gtk-smb.h')
-rw-r--r--source4/gtk/common/gtk-smb.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/source4/gtk/common/gtk-smb.h b/source4/gtk/common/gtk-smb.h
index 0a7bbcba00..2ff0a3be0c 100644
--- a/source4/gtk/common/gtk-smb.h
+++ b/source4/gtk/common/gtk-smb.h
@@ -22,8 +22,10 @@
#ifndef __GTK_SMB_H__
#define __GTK_SMB_H__
+
#ifdef HAVE_GTK
+#define GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
typedef struct _GtkRpcBindingDialog GtkRpcBindingDialog;
@@ -44,7 +46,7 @@ struct _GtkRpcBindingDialog
GtkWidget *krb5_chk_button;
GtkWidget *frame_credentials;
TALLOC_CTX *mem_ctx;
- struct sam_pipe *sam_pipe;
+ struct dcerpc_pipe *sam_pipe;
struct cli_credentials *credentials;
};
@@ -64,22 +66,18 @@ struct _GtkRpcBindingDialogClass
/* subsystem prototypes */
GtkWidget *create_gtk_samba_about_dialog (const char *appname);
void gtk_show_ntstatus(GtkWidget *win, const char *, NTSTATUS status);
-GtkWidget *gtk_rpc_binding_dialog_new (BOOL nocredentials, struct sam_pipe *sam_pipe);
+GtkWidget *gtk_rpc_binding_dialog_new (BOOL nocredentials, struct dcerpc_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, 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);
-GtkWidget *gtk_select_domain_dialog_new (struct dcerpc_pipe *sam_pipe);
-GType gtk_select_domain_dialog_get_type (void);
-struct policy_handle gtk_select_domain_dialog_get_handle(GtkSelectDomainDialog *d);
int gtk_event_loop(void);
struct event_context;
struct event_context *gtk_event_context(void);
+void cli_credentials_set_gtk_callbacks(struct cli_credentials *creds);
+
#endif