Skip to content
Snippets Groups Projects
Commit dec12663 authored by edgrif's avatar edgrif
Browse files

add code for failed command.

parent 1f02f298
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,9 @@
*
* Exported functions: See ZMap/zmapXRemote.h (this file)
* HISTORY:
* Last edited: Sep 9 11:16 2009 (edgrif)
* Last edited: Oct 20 10:19 2009 (edgrif)
* Created: Wed Apr 13 19:02:52 2005 (rds)
* CVS info: $Id: zmapXRemote.h,v 1.21 2009-09-09 16:40:39 edgrif Exp $
* CVS info: $Id: zmapXRemote.h,v 1.22 2010-01-14 13:32:28 edgrif Exp $
*-------------------------------------------------------------------
*/
......@@ -50,7 +50,7 @@
#include <X11/Xatom.h>
/* These are here just to allow checking */
#define ZMAP_XREMOTE_CURRENT_VERSION "$Revision: 1.21 $"
#define ZMAP_XREMOTE_CURRENT_VERSION "$Revision: 1.22 $"
#define ZMAP_XREMOTE_CURRENT_VERSION_ATOM "_ZMAP_XREMOTE_VERSION"
#define ZMAP_XREMOTE_APPLICATION_ATOM "_ZMAP_XREMOTE_APP"
#define ZMAPXREMOTE_PING_COMMAND "ping"
......@@ -124,6 +124,7 @@ typedef enum {
/* 4xx Client Errors */
ZMAPXREMOTE_BADREQUEST = 400, /* caller has supplied bad args. */
ZMAPXREMOTE_FAILED = 402, /* command failed. */
ZMAPXREMOTE_FORBIDDEN = 403, /* Just in case */
ZMAPXREMOTE_UNKNOWNCMD = 404, /* no command by that name for the atom supplied. */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment