ctctty.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * $Id: ctctty.h,v 1.4 2003/09/18 08:01:10 mschwide Exp $
  3. *
  4. * CTC / ESCON network driver, tty interface.
  5. *
  6. * Copyright (C) 2001 IBM Deutschland Entwicklung GmbH, IBM Corporation
  7. * Author(s): Fritz Elfert (elfert@de.ibm.com, felfert@millenux.com)
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2, or (at your option)
  12. * any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public License
  20. * along with this program; if not, write to the Free Software
  21. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22. */
  23. #ifndef _CTCTTY_H_
  24. #define _CTCTTY_H_
  25. #include <linux/skbuff.h>
  26. #include <linux/netdevice.h>
  27. extern int ctc_tty_register_netdev(struct net_device *);
  28. extern void ctc_tty_unregister_netdev(struct net_device *);
  29. extern void ctc_tty_netif_rx(struct sk_buff *);
  30. extern int ctc_tty_init(void);
  31. extern void ctc_tty_cleanup(void);
  32. extern void ctc_tty_setcarrier(struct net_device *, int);
  33. #endif