root/opal/util/opal_pty.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2006 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * $COPYRIGHT$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #ifndef OPAL_UTIL_PTY_H
  20 #define OPAL_UTIL_PTY_H
  21 
  22 #include "opal_config.h"
  23 
  24 #ifdef HAVE_UTIL_H
  25 #include <util.h>
  26 #endif
  27 #ifdef HAVE_LIBUTIL_H
  28 #include <libutil.h>
  29 #endif
  30 #ifdef HAVE_TERMIOS_H
  31 # include <termios.h>
  32 #else
  33 # ifdef HAVE_TERMIO_H
  34 #  include <termio.h>
  35 # endif
  36 #endif
  37 
  38 BEGIN_C_DECLS
  39 
  40 #if OPAL_ENABLE_PTY_SUPPORT
  41 
  42 OPAL_DECLSPEC int opal_openpty(int *amaster, int *aslave, char *name,
  43                                struct termios *termp, struct winsize *winp);
  44 
  45 #else
  46 
  47 OPAL_DECLSPEC int opal_openpty(int *amaster, int *aslave, char *name,
  48                                void *termp, void *winpp);
  49 
  50 #endif
  51 
  52 END_C_DECLS
  53 
  54 #endif /* OPAL_UTIL_PTY_H */

/* [<][>][^][v][top][bottom][index][help] */