fixed Makefile
[platform/upstream/expect.git] / exp_int.h
1 /* exp_int.h - private symbols common to both expect program and library
2
3 Written by: Don Libes, libes@cme.nist.gov, NIST, 12/3/90
4
5 Design and implementation of this program was paid for by U.S. tax
6 dollars.  Therefore it is public domain.  However, the author and NIST
7 would appreciate credit if this program or parts of it are used.
8 */
9
10 #ifndef _EXPECT_INT_H
11 #define _EXPECT_INT_H
12
13 #ifndef TRUE
14 #define FALSE 0
15 #define TRUE 1
16 #endif
17
18 #ifndef HAVE_MEMCPY
19 #define memcpy(x,y,len) bcopy(y,x,len)
20 #endif
21
22 #include <errno.h>
23
24 void    exp_console_set     _ANSI_ARGS_((void));
25 void    expDiagLogPtrSet    _ANSI_ARGS_((void (*)_ANSI_ARGS_((char *))));
26 void    expDiagLogPtr       _ANSI_ARGS_((char *));
27 void    expDiagLogPtrX      _ANSI_ARGS_((char *,int));
28 void    expDiagLogPtrStr    _ANSI_ARGS_((char *,char *));
29 void    expDiagLogPtrStrStr _ANSI_ARGS_((char *,char *,char *));
30 void    expErrnoMsgSet      _ANSI_ARGS_((char * (*) _ANSI_ARGS_((int))));
31 char * expErrnoMsg    _ANSI_ARGS_((int));
32
33 #ifdef NO_STDLIB_H
34 #  include "../compat/stdlib.h"
35 #else
36 #  include <stdlib.h>           /* for malloc */
37 #endif /*NO_STDLIB_H*/
38
39 #endif /* _EXPECT_INT_H */