removed depency of firmnet.h (which is OS dependant itself)
[libfirm] / ir / debug / firm_ycomp.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/debug/firm_ycomp.h
4  * Purpose:     Connect firm to ycomp
5  * Author:      Christian Wuerdig
6  * Modified by:
7  * Created:     16.11.2006
8  * CVS-ID:      $Id$
9  * Copyright:   (c) 2001-2006 Universität Karlsruhe
10  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11  */
12 #ifndef _FIRM_YCOMP_H_
13 #define _FIRM_YCOMP_H_
14
15 #define FIRM_YCOMP_DEFAULT_HOST "localhost"
16 #define FIRM_YCOMP_DEFAULT_PORT 4242
17
18 /**
19  * Establish connection to yComp and register debugger hooks.
20  * @param host Hostname where yComp is running
21  * @param port Port on which yComp is listening
22  */
23 void firm_init_ycomp_debugger(const char *host, unsigned port);
24
25 /**
26  * Close connection to yComp and unregister debugger hooks.
27  */
28 void firm_finish_ycomp_debugger(void);
29
30 #endif /* _FIRM_YCOMP_H_ */