blob: e9cb5db334f57976c1b8d01d64f30f16cc7429a3 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*
* win-glue.c
*
* Glue code for pasting Kerberos into the Windows environment.
*
* Originally written by John Gilmore, Cygnus Support, May '94.
* Public Domain.
*/
#include "krb.h"
#include <sys/types.h>
#include <stdio.h>
#include <windows.h>
/*
* We needed a way to print out what might be FAR pointers on Windows,
* but might be ordinary pointers on real machines. Printf modifiers
* scattered through the code don't cut it,
* since they might break on real machines. Microloss
* didn't provide a function to print a char *, so we wrote one.
* It gets #define'd to fputs on real machines.
*/
int
far_fputs(string, stream)
char *string;
FILE *stream;
{
return fprintf(stream, "%Fs", string);
}
int
krb_start_session(x)
char *x;
{
return KSUCCESS;
}
int
krb_end_session(x)
char *x;
{
return KSUCCESS;
}
void KRB5_CALLCONV
krb_set_tkt_string(val)
char *val;
{
}
|