Annotation of libwww/Library/src/HTAlert.html, revision 2.4
1.1 timbl 1: <PRE>
2: /* Displaying messages and getting input for WWW Library
3: ** =====================================================
4: **
5: ** May 92 Created By C.T. Barker
6: ** Feb 93 Portablized etc TBL
7: */
8:
9: #include "HTUtils.h"
10: #include "tcp.h"
11:
12: /* Display a message and get the input
13: **
14: ** On entry,
15: ** Msg is the message.
16: **
17: ** On exit,
18: ** Return value is malloc'd string which must be freed.
19: */
20: extern char * HTPrompt PARAMS((CONST char * Msg, CONST char * deflt));
21:
22:
23: /* Display a message, don't wait for input
24: **
25: ** On entry,
26: ** The input is a list of parameters for printf.
27: */
28: extern void HTAlert PARAMS((CONST char * Msg));
29:
30:
31: /* Display a progress message for information (and diagnostics) only
32: **
33: ** On entry,
34: ** The input is a list of parameters for printf.
35: */
36: extern void HTProgress PARAMS((CONST char * Msg));
37:
38:
39: /* Display a message, then wait for 'yes' or 'no'.
40: **
41: ** On entry,
42: ** Takes a list of parameters for printf.
43: **
44: ** On exit,
45: ** If the user enters 'YES', returns TRUE, returns FALSE
46: ** otherwise.
47: */
48: extern BOOL HTConfirm PARAMS ((CONST char * Msg));
49: </PRE>
Webmaster