ooCmdChannel.hGo to the documentation of this file.00001 /* 00002 * Copyright (C) 2004-2009 by Objective Systems, Inc. 00003 * 00004 * This software is furnished under an open source license and may be 00005 * used and copied only in accordance with the terms of this license. 00006 * The text of the license may generally be found in the root 00007 * directory of this installation in the COPYING file. It 00008 * can also be viewed online at the following URL: 00009 * 00010 * http://www.obj-sys.com/open/license.html 00011 * 00012 * Any redistributions of this file including modified versions must 00013 * maintain this copyright notice. 00014 * 00015 *****************************************************************************/ 00022 #ifndef OO_CMDCHANNEL_H 00023 #define OO_CMDCHANNEL_H 00024 00025 #include "ootypes.h" 00026 #include "ooStackCmds.h" 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 #ifndef EXTERN 00032 #if defined (MAKE_DLL) 00033 #define EXTERN __declspec(dllexport) 00034 #else 00035 #define EXTERN 00036 #endif /* MAKE_DLL */ 00037 #endif /* EXTERN */ 00038 00039 00040 #define OO_DEFAULT_CMDLISTENER_PORT 7575 00041 00054 EXTERN int ooCreateCmdListener(); 00055 00062 EXTERN int ooAcceptCmdConnection(); 00063 00071 EXTERN int ooCreateCmdConnection(); 00072 00079 EXTERN int ooCloseCmdConnection(); 00080 00081 00088 EXTERN int ooWriteStackCommand (OOStackCommand *cmd); 00089 00096 EXTERN int ooProcessStackCommand (OOStackCommand* pcmd); 00097 00102 #ifdef __cplusplus 00103 } 00104 #endif 00105 00106 #endif |