capifunc.h 901 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* $Id: capifunc.h,v 1.11.4.1 2004/08/28 20:03:53 armin Exp $
  2. *
  3. * ISDN interface module for Eicon active cards DIVA.
  4. * CAPI Interface common functions
  5. *
  6. * Copyright 2000-2003 by Armin Schindler (mac@melware.de)
  7. * Copyright 2000-2003 Cytronics & Melware (info@melware.de)
  8. *
  9. * This software may be used and distributed according to the terms
  10. * of the GNU General Public License, incorporated herein by reference.
  11. */
  12. #ifndef __CAPIFUNC_H__
  13. #define __CAPIFUNC_H__
  14. #define DRRELMAJOR 2
  15. #define DRRELMINOR 0
  16. #define DRRELEXTRA ""
  17. #define M_COMPANY "Eicon Networks"
  18. extern char DRIVERRELEASE_CAPI[];
  19. typedef struct _diva_card {
  20. struct list_head list;
  21. int remove_in_progress;
  22. int Id;
  23. struct capi_ctr capi_ctrl;
  24. DIVA_CAPI_ADAPTER *adapter;
  25. DESCRIPTOR d;
  26. char name[32];
  27. } diva_card;
  28. /*
  29. * prototypes
  30. */
  31. int init_capifunc(void);
  32. void finit_capifunc(void);
  33. #endif /* __CAPIFUNC_H__ */