blob: 92b199d7eecd4cd1bed67ffb26446cfaac2f08e6 (
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
|
/*
* $Source$
* $Author$
* $Id$
*
* Copyright 1990 by the Massachusetts Institute of Technology.
*
* For copying and distribution information, please see the file
* <krb5/mit-copyright.h>.
*
* Function prototypes for Kerberos V5 library (libos)
*/
#include <krb5/copyright.h>
#ifndef __KRB5_LIBOS_PROTO__
#define __KRB5_LIBOS_PROTO__
/* requires <stdio.h> */
/* libos.spec */
krb5_error_code krb5_read_password
PROTOTYPE((char *prompt,
char *prompt2,
char *return_pwd,
int size_return ));
krb5_error_code krb5_lock_file
PROTOTYPE((FILE *filep,
char *,
int mode ));
krb5_error_code krb5_unlock_file
PROTOTYPE((FILE *filep,
char * ));
krb5_error_code krb5_timeofday
PROTOTYPE((krb5_int32 *timeret ));
krb5_error_code krb5_ms_timeofday
PROTOTYPE((krb5_int32 *seconds,
krb5_int16 *milliseconds ));
int krb5_net_read
PROTOTYPE((int fd,
char *buf,
int len ));
int krb5_net_write
PROTOTYPE((int fd,
char *buf,
/* get all the addresses of this host */
krb5_error_code krb5_os_localaddr
PROTOTYPE((krb5_address ***addr));
#endif /* __KRB5_LIBOS_PROTO__ */
|