view control.h @ 41:92b59cfcf364 noffle

[svn] Replaces identical local server name strings by constant
author enz
date Fri, 05 May 2000 09:32:53 +0100
parents 526a4c34ee2e
children
line wrap: on
line source

/*
  control.h

  Control actions needed by server and command line.

  $Id: control.h 32 2000-04-29 14:45:56Z enz $
*/

#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