Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
emutools_umon.h
Go to the documentation of this file.
1 /* Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
2  Copyright (C)2017-2021 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
3 
4  The goal of emutools.c is to provide a relative simple solution
5  for relative simple emulators using SDL2.
6 
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
20 
21 #ifndef __XEMU_COMMON_EMUTOOLS_UMON_H_INCLUDED
22 #define __XEMU_COMMON_EMUTOOLS_UMON_H_INCLUDED
23 #ifdef HAVE_XEMU_UMON
24 #ifndef XEMU_HAS_SOCKET_API
25 #error "Need HAVE_XEMU_SOCKET_API for HAVE_XEMU_UMON to be enabled at the target!"
26 #endif
27 
28 #define XUMON_DEFAULT_PORT 9000
29 #define XUMON_MAX_THREADS 32
30 #define XUMON_STACK_SIZE (8*1024*1024)
31 
32 extern int xumon_init ( int port );
33 extern int xumon_stop ( void );
34 
35 #endif
36 #endif