dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / gss_mechs / mech_krb5 / krb5 / os / os-proto.h
blob39dae84be5c0498d2534ec7e2c3f4f0135f2a8ff
1 /*
2 * lib/krb5/os/os-proto.h
4 * Copyright 1990,1991 by the Massachusetts Institute of Technology.
5 * All Rights Reserved.
7 * Export of this software from the United States of America may
8 * require a specific license from the United States Government.
9 * It is the responsibility of any person or organization contemplating
10 * export to obtain such a license before exporting.
12 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13 * distribute this software and its documentation for any purpose and
14 * without fee is hereby granted, provided that the above copyright
15 * notice appear in all copies and that both that copyright notice and
16 * this permission notice appear in supporting documentation, and that
17 * the name of M.I.T. not be used in advertising or publicity pertaining
18 * to distribution of the software without specific, written prior
19 * permission. Furthermore if you modify this software you must label
20 * your software as modified software and not distribute it in such a
21 * fashion that it might be confused with the original M.I.T. software.
22 * M.I.T. makes no representations about the suitability of
23 * this software for any purpose. It is provided "as is" without express
24 * or implied warranty.
27 * LIBOS internal function prototypes.
30 #ifndef KRB5_LIBOS_INT_PROTO__
31 #define KRB5_LIBOS_INT_PROTO__
33 struct addrlist;
34 krb5_error_code krb5_locate_kdc
35 (krb5_context, const krb5_data *, struct addrlist *, int, int, int);
37 /* Solaris Kerberos */
38 krb5_error_code krb5_get_servername
39 (krb5_context,
40 const krb5_data *,
41 const char *, const char *,
42 char *,
43 unsigned short *);
46 #ifdef HAVE_NETINET_IN_H
47 krb5_error_code krb5_unpack_full_ipaddr
48 (krb5_context,
49 const krb5_address *,
50 krb5_int32 *,
51 krb5_int16 *);
53 krb5_error_code krb5_make_full_ipaddr
54 (krb5_context,
55 krb5_int32,
56 int, /* unsigned short promotes to signed
57 int */
58 krb5_address **);
60 #endif /* HAVE_NETINET_IN_H */
62 krb5_error_code krb5_try_realm_txt_rr(const char *, const char *,
63 char **realm);
65 /* Obsolete interface - leave prototype here until code removed */
66 krb5_error_code krb5_secure_config_files(krb5_context ctx);
68 void krb5int_debug_fprint (const char *fmt, ...);
70 int _krb5_use_dns_realm (krb5_context);
71 int _krb5_use_dns_kdc (krb5_context);
72 int _krb5_conf_boolean (const char *);
74 #include "k5-thread.h"
75 extern k5_mutex_t krb5int_us_time_mutex;
77 extern unsigned int krb5_max_skdc_timeout;
78 extern unsigned int krb5_skdc_timeout_shift;
79 extern unsigned int krb5_skdc_timeout_1;
80 extern unsigned int krb5_max_dgram_size;
83 #endif /* KRB5_LIBOS_INT_PROTO__ */