xref: /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/gtk/callbacks.h (revision 1023804e3833a0bd94414f2545512128f6502c74)
1 
2 /*
3  * Licensed Materials - Property of IBM
4  *
5  * trousers - An open source TCG Software Stack
6  *
7  * (C) Copyright International Business Machines Corp. 2004
8  *
9  */
10 
11 #ifndef _CALLBACKS_H_
12 #define _CALLBACKS_H_
13 
14 #include <gtk/gtk.h>
15 
16 #include "interface.h"
17 
18 /* Callbacks for the simple text imput dialog */
19 
20 void
21 on_dialog1_close                       (GtkDialog       *dialog,
22 					struct userdata	*user_data);
23 
24 void
25 on_cancelbutton1_clicked               (GtkButton       *button,
26 					struct userdata	*user_data);
27 
28 void
29 on_okbutton1_clicked                   (GtkButton       *button,
30 					struct userdata	*user_data);
31 
32 gboolean
33 enter_event		              (GtkWidget       *widget,
34 					struct userdata	*user_data);
35 
36 void
37 on_inputdialog1_destroy                (GtkObject       *object,
38 					struct userdata	*user_data);
39 
40 /* Callbacks for the new password dialog */
41 
42 void
43 on_entryPassword_activate              (GtkEntry        *entry,
44 					struct userdata	*user_data);
45 
46 void
47 on_entryConfirm_activate               (GtkEntry        *entry,
48 					struct userdata	*user_data);
49 
50 void
51 on_cancelbutton2_clicked               (GtkButton       *button,
52 					struct userdata	*user_data);
53 
54 void
55 on_okbutton2_clicked                   (GtkButton       *button,
56 					struct userdata	*user_data);
57 
58 #endif
59