blob: 641531daabbc8612a19930eb6640ff9e42ea8947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <stdio.h>
#define CRED_DECL extern CREDENTIALS cred;
#define SESSION cred.session
#define myaddr myctladdr
#define hisaddr hisdataaddr
#if (defined(__STDC__) || defined(__cplusplus) || defined(_MSDOS) || defined(_WIN32) || defined(KRB5_PROVIDE_PROTOTYPES)) && !defined(KRB5_NO_PROTOTYPES)
#define PROTOTYPE(x) x
#else
#define PROTOTYPE(x) ()
#endif /* STDC or PROTOTYPES */
int secure_flush PROTOTYPE((int));
int secure_putc PROTOTYPE((int, FILE *));
int secure_getc PROTOTYPE((FILE *));
int secure_write PROTOTYPE((int, unsigned char *, unsigned int));
int secure_read PROTOTYPE((int, char *, unsigned int));
void secure_gss_error PROTOTYPE((OM_uint32 maj_stat, OM_uint32 min_stat, char *s));
#if defined(STDARG) || (defined(__STDC__) && ! defined(VARARGS)) || defined(HAVE_STDARG_H)
void secure_error(char *, ...);
#else
void secure_error();
#endif
|