Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
23f5d115
Commit
23f5d115
authored
Oct 20, 1998
by
Kurt Zeilenga
Browse files
Add generic headers
parent
727f6aa1
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/ac/krb.h
0 → 100644
View file @
23f5d115
/* Generic krb.h */
#ifndef _AC_KRB_H
#define _AC_KRB_H
#if defined( HAVE_KERBEROS )
#if defined( HAVE_KERBEROSIV_KRB_H )
#include
<kerberosIV/krb.h>
#elif defined( HAVE_KRB_H )
#include
<krb.h>
#endif
#if defined( HAVE_KERBEROSIV_DES_H )
#include
<kerberosIV/des.h>
#elif defined( HAVE_DES_H )
#include
<des.h>
#endif
#endif
/* HAVE_KERBEROS */
#endif
/* _AC_KRB_H */
include/ac/syslog.h
0 → 100644
View file @
23f5d115
/*
* Generic syslog.h
*/
#ifndef _AC_SYSLOG_H_
#define _AC_SYSLOG_H_
#ifdef HAVE_SYSLOG_H
#include
<syslog.h>
#if defined( LOG_NDELAY )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY )
#elif defined( LOG_NOWAIT )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
#else
# define OPENLOG_OPTIONS ( LOG_PID )
#endif
#endif
/* syslog.h */
#endif
/* _AC_SYSLOG_H_ */
include/ac/termios.h
0 → 100644
View file @
23f5d115
/* Generic termios.h */
#ifndef _AC_TERMIOS_H
#define _AC_TERMIOS_H
#ifdef HAVE_SGTTY_H
#include
<sgtty.h>
#ifdef HAVE_SYS_IOCTL_H
#include
<sys/ioctl.h>
#endif
#define TERMIO_TYPE struct sgttyb
#define TERMFLAG_TYPE int
#define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
#define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
#define GETFLAGS( tio ) ((tio).sg_flags)
#define SETFLAGS( tio, flags ) ((tio).sg_flags = (flags))
#elif HAVE_TERMIOS_H
#include
<termios.h>
#define TERMIO_TYPE struct termios
#define TERMFLAG_TYPE tcflag_t
#define GETATTR( fd, tiop ) tcgetattr((fd), (tiop))
#define SETATTR( fd, tiop ) tcsetattr((fd), TCSANOW
/* 0 */
, (tiop))
#define GETFLAGS( tio ) ((tio).c_lflag)
#define SETFLAGS( tio, flags ) ((tio).c_lflag = (flags))
#endif
/* HAVE_TERMIOS_H */
#endif
/* _AC_TERMIOS_H */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment