0f34bb3249426b76dc8a5626e2bc570809deb430
[samba.git] / source / gtk / common / gtk-smb.h
1 /* 
2    Unix SMB/CIFS implementation.
3    SMB-related GTK+ functions
4    
5    Copyright (C) Jelmer Vernooij 2004
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11    
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16    
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22 #ifndef __GTK_SMB_H__
23 #define __GTK_SMB_H__
24
25 #ifdef HAVE_GTK
26
27 #include <gtk/gtk.h>
28
29 typedef struct _GtkRpcBindingDialog GtkRpcBindingDialog;
30
31 struct _GtkRpcBindingDialog 
32 {
33         GtkDialog dialog;
34         GtkWidget *chk_sign;
35         GtkWidget *chk_seal;
36         GtkWidget *transport_tcp_ip;
37         GtkWidget *transport_smb;
38         GtkWidget *entry_host;
39         GtkWidget *entry_username;
40         GtkWidget *entry_password;
41         GtkWidget *krb5_chk_button;
42         TALLOC_CTX *mem_ctx;
43 };
44
45 typedef struct _GtkRpcBindingDialogClass GtkRpcBindingDialogClass;
46
47 struct _GtkRpcBindingDialogClass
48 {
49         GtkDialogClass parent_class;
50 };
51
52 #define GTK_RPC_BINDING_DIALOG(obj)          GTK_CHECK_CAST (obj, gtk_rpc_binding_dialog_get_type (), GtkRpcBindingDialog)
53 #define GTK_RPC_BINDING_DIALOG_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gtk_rpc_binding_dialog_class_get_type (), GtkRpcBindingDialogClass)
54 #define IS_GTK_RPC_BINDING_DIALOG(obj)       GTK_CHECK_TYPE (obj, gtk_rpc_binding_dialog_get_type ())
55
56 #endif
57
58 #endif