annotate src/dialog.hh @ 470:b01e80ee7c88

Added basic authentication!
author Jorge Arellano Cid <jcid@dillo.org>
date Sat, 20 Dec 2008 17:19:27 -0300
parents 81fc5011ea56
children 2307d3f8e41b
rev   line source
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
1 #ifndef __DIALOG_HH__
38
jcid
parents: 0
diff changeset
2 #define __DIALOG_HH__
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
3
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
4 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
5 extern "C" {
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
6 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
7
470
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
8 typedef void (*UserPasswordCB)(const char *user, const char *password,
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
9 void *vp);
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
10
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
11 void a_Dialog_msg(const char *msg);
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
12 int a_Dialog_choice3(const char *msg,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
13 const char *b0, const char *b1, const char *b2);
171
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
14 int a_Dialog_choice5(const char *QuestionTxt,
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
15 const char *alt1, const char *alt2, const char *alt3,
d6eefa9091ee - Implemented a_Dialog_choice5(). May be used by dpis and dillo.
jcid
parents: 56
diff changeset
16 const char *alt4, const char *alt5);
470
b01e80ee7c88 Added basic authentication!
Jorge Arellano Cid <jcid@dillo.org>
parents: 260
diff changeset
17 int a_Dialog_user_password(const char *message, UserPasswordCB cb, void *vp);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
18 const char *a_Dialog_input(const char *msg);
241
78fa66a3ba64 - Enabled proxy_user in preferences.
jcid
parents: 225
diff changeset
19 const char *a_Dialog_passwd(const char *msg);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
20 const char *a_Dialog_save_file(const char *msg,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
21 const char *pattern, const char *fname);
172
765db4e71128 - Implemented the file input control for forms (work in progress).
jcid
parents: 171
diff changeset
22 const char *a_Dialog_select_file(const char *msg,
765db4e71128 - Implemented the file input control for forms (work in progress).
jcid
parents: 171
diff changeset
23 const char *pattern, const char *fname);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
24 char *a_Dialog_open_file(const char *msg,
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
25 const char *pattern, const char *fname);
260
81fc5011ea56 - Moved charset decoding into cache.
jcid
parents: 241
diff changeset
26 void *a_Dialog_make_text_window(const char *txt, const char *title);
81fc5011ea56 - Moved charset decoding into cache.
jcid
parents: 241
diff changeset
27 void a_Dialog_show_text_window(void *vWindow);
0
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
28
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
29 #ifdef __cplusplus
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
30 }
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
31 #endif /* __cplusplus */
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
32
6ee11bf9e3ea Initial revision
jcid
parents:
diff changeset
33 #endif // __DIALOG_HH__