fix
[libfirm] / ir / debug / firm_ycomp.h
index f136944..3c473e0 100644 (file)
@@ -1,29 +1,45 @@
 /*
- * Project:     libFIRM
- * File name:   ir/debug/firm_ycomp.h
- * Purpose:     Connect firm to ycomp
- * Author:      Christian Wuerdig
- * Modified by:
- * Created:     16.11.2006
- * CVS-ID:      $Id$
- * Copyright:   (c) 2001-2006 Universität Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
-#ifndef _FIRM_YCOMP_H_
-#define _FIRM_YCOMP_H_
 
-#include "firmnet.h"
+/**
+ * @file
+ * @brief     Connect firm to ycomp
+ * @author    Christian Wuerdig
+ * @date      16.11.2006
+ * @version   $Id$
+ */
+#ifndef FIRM_DEBUG_FIRM_YCOMP_H
+#define FIRM_DEBUG_FIRM_YCOMP_H
+
+#define FIRM_YCOMP_DEFAULT_HOST "localhost"
+#define FIRM_YCOMP_DEFAULT_PORT 4242
 
 /**
  * Establish connection to yComp and register debugger hooks.
  * @param host Hostname where yComp is running
  * @param port Port on which yComp is listening
  */
-void firm_init_ycomp_debugger(const char *host, uint16_t port);
+void firm_init_ycomp_debugger(const char *host, unsigned port);
 
 /**
  * Close connection to yComp and unregister debugger hooks.
  */
 void firm_finish_ycomp_debugger(void);
 
-#endif /* _FIRM_YCOMP_H_ */
+#endif