aboutsummaryrefslogtreecommitdiff
path: root/drivers/isdn/hardware/eicon/main_if.h
blob: 0ea339afd4245b6478640c5f2d179360d10d10ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 *
  Copyright (c) Eicon Technology Corporation, 2000.
 *
  This source file is supplied for the use with Eicon
  Technology Corporation's range of DIVA Server Adapters.
 *
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2, or (at your option)
  any later version.
 *
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY OF ANY KIND WHATSOEVER INCLUDING ANY
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU General Public License for more details.
 *
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */
/*------------------------------------------------------------------*/
/* file: main_if.h                                                  */
/*------------------------------------------------------------------*/
# ifndef MAIN_IF___H
# define MAIN_IF___H

# include "debug_if.h"

void  DI_lock (void) ;
void  DI_unlock (void) ;

#ifdef NOT_YET_NEEDED
void  DI_nttime (LARGE_INTEGER *NTtime) ;
void  DI_ntlcltime(LARGE_INTEGER *NTtime, LARGE_INTEGER *lclNTtime) ;
void  DI_nttimefields(LARGE_INTEGER *NTtime, TIME_FIELDS *TimeFields);
unsigned long  DI_wintime(LARGE_INTEGER *NTtime) ;

unsigned short  DiInsertProcessorNumber (int type) ;
void DiProcessEventLog (unsigned short id, unsigned long msgID, va_list ap);

void  StartIoctlTimer (void (*Handler)(void), unsigned long msec) ;
void  StopIoctlTimer (void) ;
void  UnpendIoctl (DbgRequest *pDbgReq) ;
#endif

void add_to_q(int, char* , unsigned int);
# endif /* MAIN_IF___H */