/arch/um/drivers/port.h

https://bitbucket.org/evzijst/gittest · C Header · 30 lines · 12 code · 4 blank · 14 comment · 0 complexity · 6c22e3a709a8c39161a1f1ce21fb43a8 MD5 · raw file

  1. /*
  2. * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __PORT_H__
  6. #define __PORT_H__
  7. extern void *port_data(int port);
  8. extern int port_wait(void *data);
  9. extern void port_kern_close(void *d);
  10. extern int port_connection(int fd, int *socket_out, int *pid_out);
  11. extern int port_listen_fd(int port);
  12. extern void port_read(int fd, void *data);
  13. extern void port_kern_free(void *d);
  14. extern int port_rcv_fd(int fd);
  15. extern void port_remove_dev(void *d);
  16. #endif
  17. /*
  18. * Overrides for Emacs so that we follow Linus's tabbing style.
  19. * Emacs will notice this stuff at the end of the file and automatically
  20. * adjust the settings for this buffer only. This must remain at the end
  21. * of the file.
  22. * ---------------------------------------------------------------------------
  23. * Local variables:
  24. * c-file-style: "linux"
  25. * End:
  26. */