]> rtime.felk.cvut.cz Git - orte.git/blob - orte/liborte/ORTEInit.c
Add shell.nix
[orte.git] / orte / liborte / ORTEInit.c
1 /*
2  *  $Id: ORTEInit.c,v 0.0.0.1           2003/08/21
3  *
4  *  DEBUG:  section 20                  Initialization of ORTE
5  *
6  *  -------------------------------------------------------------------
7  *                                ORTE
8  *                      Open Real-Time Ethernet
9  *
10  *                      Copyright (C) 2001-2006
11  *  Department of Control Engineering FEE CTU Prague, Czech Republic
12  *                      http://dce.felk.cvut.cz
13  *                      http://www.ocera.org
14  *
15  *  Author:              Petr Smolik    petr@smoliku.cz
16  *  Advisor:             Pavel Pisa
17  *  Project Responsible: Zdenek Hanzalek
18  *  --------------------------------------------------------------------
19  *
20  *  This program is free software; you can redistribute it and/or modify
21  *  it under the terms of the GNU General Public License as published by
22  *  the Free Software Foundation; either version 2 of the License, or
23  *  (at your option) any later version.
24  *
25  *  This program is distributed in the hope that it will be useful,
26  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
27  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28  *  GNU General Public License for more details.
29  *
30  */
31
32 #include "orte_all.h"
33 #ifdef __RTL__
34 #include <rtl.h>
35 #endif
36 #ifdef CONFIG_ORTE_RT
37 MODULE_LICENSE("GPL");
38 #endif
39
40 /*****************************************************************************/
41 void
42 ORTEInit(void)
43 {
44   SEQUENCE_NUMBER_NONE(noneSN);
45   NTPTIME_ZERO(zNtpTime);
46   NTPTIME_INFINITE(iNtpTime);
47   sock_start();
48   db_init(NULL, "");              //no debug info
49 }