00001 /* 00002 * This file is part of liberipc. 00003 * 00004 * liberipc is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * liberipc is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00026 /* liberipc - A library to enable IPC on the eReader platform 00027 * Copyright (C) 2005 iRex Technologies B.V. 00028 * All rights reserved. 00029 * 00030 */ 00031 00032 #ifndef _ERIPCSETUP_H_ 00033 #define _ERIPCSETUP_H_ 00034 00035 #include "eripcclient.h" 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif /* __cplusplus */ 00040 00041 typedef enum { 00042 ccStGotoPage = 0, 00043 ccStUndefined 00044 } eCcSt; 00045 00046 00047 int stParseCommand(char *szCommand, erIpcCmd_t *pCmd); 00048 00057 int stGotoPage(erClientChannel_t channel, int page); 00058 00059 00060 #ifdef __cplusplus 00061 } 00062 #endif /* __cplusplus */ 00063 00064 #endif