view src/control.h @ 44:bb6a1bf61279 noffle

[svn] Oops. Forgot three files in my last commit: * Removed Makefile. * Added docs/Makefile.am and docs/Makefile.in
author uh1763
date Fri, 05 May 2000 22:50:13 +0100
parents 2842f50feb55
children 32ba1198c6fa
line wrap: on
line source

/*
  control.h

  Control actions needed by server and command line.

  $Id: control.h 49 2000-05-05 21:45:56Z uh1763 $
*/

#ifndef CONTROL_H
#define CONTROL_H

#define	CANCEL_OK		0
#define	CANCEL_NO_SUCH_MSG	1
#define	CANCEL_NEEDS_MSG	2

/*
   Cancel a message. Return CANCEL_OK if completely cancelled,
   CANCEL_NO_SUCH_MSG if no message with that ID exists, and
   CANCEL_NEEDS_MSG if a 'cancel' message should be propagated upstream
   to cancel the message elsewhere.
 */
int
Ctrl_cancel( const char *msgId );

#endif