Blame view

include/linux/isdn_divertif.h 1.27 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
10
11
  /* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $
   *
   * Header for the diversion supplementary interface for i4l.
   *
   * Author    Werner Cornelius (werner@titro.de)
   * Copyright by Werner Cornelius (werner@titro.de)
   *
   * This software may be used and distributed according to the terms
   * of the GNU General Public License, incorporated herein by reference.
   *
   */
c15a48d60   David Howells   UAPI: Guard linux...
12
13
  #ifndef _LINUX_ISDN_DIVERTIF_H
  #define _LINUX_ISDN_DIVERTIF_H
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
14

a7e27d5dd   Mike Frysinger   sanitize linux/is...
15
16
  #include <linux/isdnif.h>
  #include <linux/types.h>
607ca46e9   David Howells   UAPI: (Scripted) ...
17
  #include <uapi/linux/isdn_divertif.h>
a7e27d5dd   Mike Frysinger   sanitize linux/is...
18

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  /***************************************************************/
  /* structure exchanging data between isdn hl and divert module */
  /***************************************************************/ 
  typedef struct
    { ulong if_magic; /* magic info and version */
      int cmd; /* command */
      int (*stat_callback)(isdn_ctrl *); /* supplied by divert module when calling */
      int (*ll_cmd)(isdn_ctrl *); /* supplied by hl on return */
      char * (*drv_to_name)(int); /* map a driver id to name, supplied by hl */
      int (*name_to_drv)(char *); /* map a driver id to name, supplied by hl */
    } isdn_divert_if;
  
  /*********************/
  /* function register */
  /*********************/
  extern int DIVERT_REG_NAME(isdn_divert_if *);
c15a48d60   David Howells   UAPI: Guard linux...
35
  #endif /* _LINUX_ISDN_DIVERTIF_H */