view control.h @ 34:9426f9eaf3d7 noffle

[svn] Change output of "noffle -a all" to standard mailbox format.
author enz
date Mon, 01 May 2000 10:23:31 +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