Blame view

include/linux/devpts_fs.h 1.02 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /* -*- linux-c -*- --------------------------------------------------------- *
   *
   * linux/include/linux/devpts_fs.h
   *
   *  Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
   *
   * This file is part of the Linux kernel and is made available under
   * the terms of the GNU General Public License, version 2, or at your
   * option, any later version, incorporated herein by reference.
   *
   * ------------------------------------------------------------------------- */
  
  #ifndef _LINUX_DEVPTS_FS_H
  #define _LINUX_DEVPTS_FS_H
  
  #include <linux/errno.h>
  
  #ifdef CONFIG_UNIX98_PTYS
eedf265aa   Eric W. Biederman   devpts: Make each...
19
20
21
22
  struct pts_fs_info;
  
  struct pts_fs_info *devpts_acquire(struct file *);
  void devpts_release(struct pts_fs_info *);
67245ff33   Linus Torvalds   devpts: clean up ...
23
24
25
  
  int devpts_new_index(struct pts_fs_info *);
  void devpts_kill_index(struct pts_fs_info *, int);
15f1a6338   Sukadev Bhattiprolu   Add an instance p...
26
  /* mknod in devpts */
8ead9dd54   Linus Torvalds   devpts: more pty ...
27
  struct dentry *devpts_pty_new(struct pts_fs_info *, int, void *);
8fcbaa2b7   Jiri Slaby   TTY: devpts, don'...
28
  /* get private structure */
8ead9dd54   Linus Torvalds   devpts: more pty ...
29
  void *devpts_get_priv(struct dentry *);
15f1a6338   Sukadev Bhattiprolu   Add an instance p...
30
  /* unlink */
8ead9dd54   Linus Torvalds   devpts: more pty ...
31
  void devpts_pty_kill(struct dentry *);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
32

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
33
34
35
36
  #endif
  
  
  #endif /* _LINUX_DEVPTS_FS_H */