Changeset 79061679 in rtems for cpukit/telnetd/pty.h


Ignore:
Timestamp:
Oct 25, 2005, 2:19:45 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d056c7ec
Parents:
af028338
Message:

2005-10-25 Ralf Corsepius <ralf.corsepius@…>

  • telnetd/icmds.c: Rename register_icmds to _rtems_telnet_register_icmds. Make main_* functions static.
  • telnetd/pty.c: Make many functions static. Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys.
  • telnetd/pty.h: Reflect changes above. Rename get_pty to rtems_pty_get. New header guards.
  • telnetd/telnetd.c: Reflect changes above.
  • telnetd/telnetd.h: New header guards.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/telnetd/pty.h

    raf028338 r79061679  
    1212 */
    1313
    14 #ifndef __PTY_H
    15 #define __PTY_H
     14#ifndef _RTEMS_PTY_H
     15#define _RTEMS_PTY_H
    1616
    1717#ifdef __cplusplus
     
    2121#include <rtems.h>     
    2222
    23 char * get_pty(int socket);
     23/* Number of ptys to setup */
     24extern size_t rtems_pty_maximum_ptys;
     25
     26/* Return the devname for a free pty slot.
     27 * If no slot available (socket>=0)
     28 * then the socket argument is closed
     29 */
     30char * rtems_pty_get(int socket);
     31
     32
     33/* OBSOLETE */
     34#define get_pty         rtems_pty_get
    2435
    2536rtems_device_driver pty_initialize(
Note: See TracChangeset for help on using the changeset viewer.