/*  esecannaserver --- pseudo canna server that wraps another IME.
 *  Copyright (C) 1999-2000 Yasuhiro Take
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#ifndef __const_def__
#define __const_def__

#define ESECANNA_VERSION "esecanna 0.99.2"
#define VJE_UNIX_DOMAIN_PATH "/tmp/vjed"
#define CANNA_UNIX_DOMAIN_DIR "/tmp/.iroha_unix"
#define CANNA_UNIX_DOMAIN_PATH "/tmp/.iroha_unix/IROHA"
#define CANNA_SERVICE_NAME "canna"
#define CANNA_DEFAULT_PORT 5680

#define ESECANNA_PID_PATH PIDPATH "/esecanna.pid"
#define ESECANNA_LOG_PATH LOGPATH "/esecanna.log"
#define ESECANNA_RC_PATH RCPATH "/esecannarc"

#define ESECANNA_DL_PATH DLLPATH

#define MAX_CLIENT_NUM 16
#define VJE_ROOT_CLIENT 0
#define ATOK_ROOT_CLIENT 1
#define WNN_ROOT_CLIENT 2
#define USER_CLIENT 3

#ifndef TRUE

#define TRUE 1
#define FALSE 0

#endif

#endif
