/*
 * This file is part of the OLH system.
 *
 *      Lucien Van Elsen
 *	MIT Project Athena
 *
 * Copyright (C) 1990 by the Massachusetts Institute of Technology.
 * For copying and distribution information, see the file "mit-copyright.h".
 *
 *	$Source: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/ascii/hooks.c,v $
 *	$Id: hooks.c,v 1.1 1993/10/12 05:44:42 probe Exp $
 *	$Author: probe $
 */

#ifndef lint
#ifndef SABER
static char *RCSid = "$Header: /afs/sipb.mit.edu/project/sipb-athena/repository/src/olh/ascii/hooks.c,v 1.1 1993/10/12 05:44:42 probe Exp $";
#endif
#endif

#include "olh.h"

void
  attach_hook(filsys)
char *filsys;
{
  char buf[1024];
  
  sprintf(buf, ATTACHWAIT, filsys);
  show_message(buf);
}

void
  attach_done_hook(filsys, status)
char *filsys;
long status;
{
  char buf[1024];
  
  if (status == 0)
    show_message("");
  else
    {
      sprintf(buf, ATTACHWARNING, filsys);
      show_message(buf);
    }
}
