/*                                        W3C Sample Code Library libwww messages and dialogs
                       APPLICATION SIDE ERROR MESSAGES AND THE LIKE
                                             
 */
/*
**      (c) COPYRIGHT MIT 1995.
**      Please first read the full copyright statement in the file COPYRIGH.
*/
/*

   HTAccess, but now It is part of the application interface which the application may use
   it if desired.
   
   This module is implemented by HTHome.c, and it is a part of the W3C Sample Code
   Library.
   
 */
#ifndef HTMSG_H
#define HTMSG_H
#include "WWWLib.h"
/*

  Display a message, then wait for 'YES' or 'NO'
  
   TRUE, returns FALSE otherwise.
   
 */
extern HTAlertCallback HTConfirm;
/*

  Prompt the User a Question
  
 */
                
extern HTAlertCallback HTPrompt;
/*

  Prompt for a Password
  
   NOTE: The current version uses getpass which on many systems returns a string of 8 or
   16 bytes.
   
 */
extern HTAlertCallback HTPromptPassword;
/*

  Prompt for a UserID and a Password
  
   HTPrompt and HTPromptPassword. The strings returned must be freed by caller.
   
 */
extern HTAlertCallback HTPromptUsernameAndPassword;
/*

  Display a Message
  
 */
extern HTAlertCallback HTAlert;
/*

  Progress Notification
  
 */
extern HTAlertCallback HTProgress;
/*

  Generating a User Error Message of a request
  
   HTAlert.c.
   
 */
extern HTAlertCallback HTError_print;
/*

  Generating a Server Error Message of a request
  
 */
extern BOOL HTError_response (HTRequest * request, HTAlertOpcode op,
                              int msgnum, const char * dfault, void * input,
                              HTAlertPar * reply);
/*

 */
#endif /* HTHOME_H */
/*

   
   ___________________________________
   
                           @(#) $Id: HTDialog.html,v 2.7 1998/05/14 02:10:22 frystyk Exp $
                                                                                          
   */
