ppc_cmd.h

00001 /*
00002  * Copyright (c) 2005-2012 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: ppc_cmd.h,v 1.9 2007/11/09 22:06:26 tat Exp $
00009  */
00010 
00011 #ifndef _KLONE_PPC_CMD_H_
00012 #define _KLONE_PPC_CMD_H_
00013 
00014 /* ppc centralized command list */
00015 enum {
00016     PPC_CMD_UNKNOWN,            /* wrong command                    */
00017     PPC_CMD_NOP,                /* no operation                     */
00018     PPC_CMD_FORK_CHILD,         /* launch a new child               */
00019     PPC_CMD_RESPONSE_OK,        /* ppc response success             */
00020     PPC_CMD_RESPONSE_ERROR,     /* ppc response error               */
00021 
00022     /* in-memory sessions ppc commands                              */
00023     PPC_CMD_MSES_SAVE,          /* save a session                   */
00024     PPC_CMD_MSES_GET,           /* get session data                 */
00025     PPC_CMD_MSES_DELOLD,        /* delete the oldest ession         */
00026     PPC_CMD_MSES_REMOVE,        /* remove a session                 */
00027 
00028     /* logging ppc commands                                         */
00029     PPC_CMD_LOG_ADD,            /* add a log line                   */
00030     PPC_CMD_LOG_GET,            /* get a log line (in-mem logging)  */
00031 
00032     /* access log commands                                          */
00033     PPC_CMD_ACCESS_LOG          /* add an access log line           */
00034 };
00035 
00036 #endif

←Products
Copyright © 2005-2012 - KoanLogic S.r.l. - All rights reserved