fixed CRLF
[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 #include "firmnet.h"
16
17 #define FIRM_YCOMP_DEFAULT_HOST "localhost"
18 #define FIRM_YCOMP_DEFAULT_PORT 4242
19
20 /**
21  * Establish connection to yComp and register debugger hooks.
22  * @param host Hostname where yComp is running
23  * @param port Port on which yComp is listening
24  */
25 void firm_init_ycomp_debugger(const char *host, uint16_t port);
26
27 /**
28  * Close connection to yComp and unregister debugger hooks.
29  */
30 void firm_finish_ycomp_debugger(void);
31
32 #endif /* _FIRM_YCOMP_H_ */