aboutsummaryrefslogtreecommitdiff
path: root/src/include/krb5.hin
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/krb5.hin')
-rw-r--r--src/include/krb5.hin644
1 files changed, 321 insertions, 323 deletions
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index 1c1a1c6..3003513 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -56,7 +56,7 @@
#ifndef KRB5_GENERAL__
#define KRB5_GENERAL__
-#if defined(_MSDOS) || defined(_WIN32) || defined(macintosh)
+#if defined(_WIN32) || defined(macintosh)
#include <win-mac.h>
/* Macintoh CFM-68K magic incantation */
#if defined(macintosh) && defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
@@ -64,7 +64,7 @@
#endif
#endif
-#if defined(_MSDOS) || defined(_WIN32) || defined(macintosh)
+#if defined(_WIN32) || defined(macintosh)
#include <win-mac.h>
#endif
@@ -73,8 +73,6 @@
#define KRB5_CALLCONV
#define KRB5_CALLCONV_C
#define KRB5_EXPORTVAR
-#define FAR
-#define NEAR
#endif /* !KRB5_CALLCONV */
#endif /* !KRB5_CONFIG__ */
@@ -192,7 +190,7 @@ typedef krb5_error_code krb5_magic;
typedef struct _krb5_data {
krb5_magic magic;
unsigned int length;
- char FAR *data;
+ char *data;
} krb5_data;
/*
@@ -206,20 +204,20 @@ typedef struct _krb5_data {
#define krb5_const const
-typedef void FAR * krb5_pointer;
-typedef void krb5_const FAR * krb5_const_pointer;
+typedef void * krb5_pointer;
+typedef void krb5_const * krb5_const_pointer;
#define KRB5_PROTOTYPE(x) x
typedef struct krb5_principal_data {
krb5_magic magic;
krb5_data realm;
- krb5_data FAR *data; /* An array of strings */
+ krb5_data *data; /* An array of strings */
krb5_int32 length;
krb5_int32 type;
} krb5_principal_data;
-typedef krb5_principal_data FAR * krb5_principal;
+typedef krb5_principal_data * krb5_principal;
/*
* Per V5 spec on definition of principal types
@@ -239,7 +237,7 @@ typedef krb5_principal_data FAR * krb5_principal;
#define KRB5_NT_UID 5
/* constant version thereof: */
-typedef krb5_const krb5_principal_data FAR *krb5_const_principal;
+typedef krb5_const krb5_principal_data *krb5_const_principal;
#define krb5_princ_realm(context, princ) (&(princ)->realm)
#define krb5_princ_set_realm(context, princ,value) ((princ)->realm = *(value))
@@ -263,7 +261,7 @@ typedef struct _krb5_address {
krb5_magic magic;
krb5_addrtype addrtype;
unsigned int length;
- krb5_octet FAR *contents;
+ krb5_octet *contents;
} krb5_address;
/* per Kerberos v5 protocol spec */
@@ -286,10 +284,10 @@ typedef struct _krb5_address {
struct _krb5_context;
-typedef struct _krb5_context FAR * krb5_context;
+typedef struct _krb5_context * krb5_context;
struct _krb5_auth_context;
-typedef struct _krb5_auth_context FAR * krb5_auth_context;
+typedef struct _krb5_auth_context * krb5_auth_context;
struct _krb5_cryptosystem_entry;
@@ -301,7 +299,7 @@ typedef struct _krb5_keyblock {
krb5_magic magic;
krb5_enctype enctype;
unsigned int length;
- krb5_octet FAR *contents;
+ krb5_octet *contents;
} krb5_keyblock;
#ifdef KRB5_OLD_CRYPTO
@@ -310,7 +308,7 @@ typedef struct _krb5_encrypt_block {
krb5_enctype crypto_entry; /* to call krb5_encrypt_size, you need
this. it was a pointer, but it
doesn't have to be. gross. */
- krb5_keyblock FAR *key;
+ krb5_keyblock *key;
} krb5_encrypt_block;
#endif
@@ -318,7 +316,7 @@ typedef struct _krb5_checksum {
krb5_magic magic;
krb5_cksumtype checksum_type; /* checksum type */
unsigned int length;
- krb5_octet FAR *contents;
+ krb5_octet *contents;
} krb5_checksum;
typedef struct _krb5_enc_data {
@@ -488,48 +486,48 @@ krb5_error_code KRB5_CALLCONV krb5_encrypt
krb5_const krb5_pointer inptr,
krb5_pointer outptr,
krb5_const size_t size,
- krb5_encrypt_block FAR * eblock,
+ krb5_encrypt_block * eblock,
krb5_pointer ivec);
krb5_error_code KRB5_CALLCONV krb5_decrypt
(krb5_context context,
krb5_const krb5_pointer inptr,
krb5_pointer outptr,
krb5_const size_t size,
- krb5_encrypt_block FAR * eblock,
+ krb5_encrypt_block * eblock,
krb5_pointer ivec);
krb5_error_code KRB5_CALLCONV krb5_process_key
(krb5_context context,
- krb5_encrypt_block FAR * eblock,
- krb5_const krb5_keyblock FAR * key);
+ krb5_encrypt_block * eblock,
+ krb5_const krb5_keyblock * key);
krb5_error_code KRB5_CALLCONV krb5_finish_key
(krb5_context context,
- krb5_encrypt_block FAR * eblock);
+ krb5_encrypt_block * eblock);
krb5_error_code KRB5_CALLCONV krb5_string_to_key
(krb5_context context,
- krb5_const krb5_encrypt_block FAR * eblock,
- krb5_keyblock FAR * keyblock,
- krb5_const krb5_data FAR * data,
- krb5_const krb5_data FAR * salt);
+ krb5_const krb5_encrypt_block * eblock,
+ krb5_keyblock * keyblock,
+ krb5_const krb5_data * data,
+ krb5_const krb5_data * salt);
krb5_error_code KRB5_CALLCONV krb5_init_random_key
(krb5_context context,
- krb5_const krb5_encrypt_block FAR * eblock,
- krb5_const krb5_keyblock FAR * keyblock,
- krb5_pointer FAR * ptr);
+ krb5_const krb5_encrypt_block * eblock,
+ krb5_const krb5_keyblock * keyblock,
+ krb5_pointer * ptr);
krb5_error_code KRB5_CALLCONV krb5_finish_random_key
(krb5_context context,
- krb5_const krb5_encrypt_block FAR * eblock,
- krb5_pointer FAR * ptr);
+ krb5_const krb5_encrypt_block * eblock,
+ krb5_pointer * ptr);
krb5_error_code KRB5_CALLCONV krb5_random_key
(krb5_context context,
- krb5_const krb5_encrypt_block FAR * eblock,
+ krb5_const krb5_encrypt_block * eblock,
krb5_pointer ptr,
- krb5_keyblock FAR * FAR * keyblock);
+ krb5_keyblock ** keyblock);
krb5_enctype KRB5_CALLCONV krb5_eblock_enctype
(krb5_context context,
- krb5_const krb5_encrypt_block FAR * eblock);
+ krb5_const krb5_encrypt_block * eblock);
krb5_error_code KRB5_CALLCONV krb5_use_enctype
(krb5_context context,
- krb5_encrypt_block FAR * eblock,
+ krb5_encrypt_block * eblock,
krb5_const krb5_enctype enctype);
size_t KRB5_CALLCONV krb5_encrypt_size
(size_t length,
@@ -542,11 +540,11 @@ krb5_error_code KRB5_CALLCONV krb5_calculate_checksum
krb5_const krb5_cksumtype ctype,
krb5_const krb5_pointer in, krb5_const size_t in_length,
krb5_const krb5_pointer seed, krb5_const size_t seed_length,
- krb5_checksum FAR * outcksum);
+ krb5_checksum * outcksum);
krb5_error_code KRB5_CALLCONV krb5_verify_checksum
(krb5_context context,
krb5_cksumtype ctype,
- krb5_const krb5_checksum FAR * cksum,
+ krb5_const krb5_checksum * cksum,
krb5_const krb5_pointer in, krb5_const size_t in_length,
krb5_const krb5_pointer seed, krb5_const size_t seed_length);
@@ -815,7 +813,7 @@ typedef struct _krb5_authdata {
krb5_magic magic;
krb5_authdatatype ad_type;
unsigned int length;
- krb5_octet FAR *contents;
+ krb5_octet *contents;
} krb5_authdata;
/* structure for transited encoding */
@@ -829,12 +827,12 @@ typedef struct _krb5_enc_tkt_part {
krb5_magic magic;
/* to-be-encrypted portion */
krb5_flags flags; /* flags */
- krb5_keyblock FAR *session; /* session key: includes enctype */
+ krb5_keyblock *session; /* session key: includes enctype */
krb5_principal client; /* client name/realm */
krb5_transited transited; /* list of transited realms */
krb5_ticket_times times; /* auth, start, end, renew_till */
- krb5_address FAR * FAR *caddrs; /* array of ptrs to addresses */
- krb5_authdata FAR * FAR *authorization_data; /* auth data */
+ krb5_address **caddrs; /* array of ptrs to addresses */
+ krb5_authdata **authorization_data; /* auth data */
} krb5_enc_tkt_part;
typedef struct _krb5_ticket {
@@ -843,7 +841,7 @@ typedef struct _krb5_ticket {
krb5_principal server; /* server name/realm */
krb5_enc_data enc_part; /* encryption type, kvno, encrypted
encoding */
- krb5_enc_tkt_part FAR *enc_part2; /* ptr to decrypted version, if
+ krb5_enc_tkt_part *enc_part2; /* ptr to decrypted version, if
available */
} krb5_ticket;
@@ -851,18 +849,18 @@ typedef struct _krb5_ticket {
typedef struct _krb5_authenticator {
krb5_magic magic;
krb5_principal client; /* client name/realm */
- krb5_checksum FAR *checksum; /* checksum, includes type, optional */
+ krb5_checksum *checksum; /* checksum, includes type, optional */
krb5_int32 cusec; /* client usec portion */
krb5_timestamp ctime; /* client sec portion */
- krb5_keyblock FAR *subkey; /* true session key, optional */
+ krb5_keyblock *subkey; /* true session key, optional */
krb5_int32 seq_number; /* sequence #, optional */
- krb5_authdata FAR * FAR *authorization_data; /* New add by Ari, auth data */
+ krb5_authdata **authorization_data; /* New add by Ari, auth data */
} krb5_authenticator;
typedef struct _krb5_tkt_authent {
krb5_magic magic;
- krb5_ticket FAR *ticket;
- krb5_authenticator FAR *authenticator;
+ krb5_ticket *ticket;
+ krb5_authenticator *authenticator;
krb5_flags ap_options;
} krb5_tkt_authent;
@@ -876,12 +874,12 @@ typedef struct _krb5_creds {
krb5_boolean is_skey; /* true if ticket is encrypted in
another ticket's skey */
krb5_flags ticket_flags; /* flags in ticket */
- krb5_address FAR * FAR *addresses; /* addrs in ticket */
+ krb5_address **addresses; /* addrs in ticket */
krb5_data ticket; /* ticket string itself */
krb5_data second_ticket; /* second ticket, if related to
ticket (via DUPLICATE-SKEY or
ENC-TKT-IN-SKEY) */
- krb5_authdata FAR * FAR *authdata; /* authorization data */
+ krb5_authdata **authdata; /* authorization data */
} krb5_creds;
/* Last request fields */
@@ -896,13 +894,13 @@ typedef struct _krb5_pa_data {
krb5_magic magic;
krb5_preauthtype pa_type;
unsigned int length;
- krb5_octet FAR *contents;
+ krb5_octet *contents;
} krb5_pa_data;
typedef struct _krb5_kdc_req {
krb5_magic magic;
krb5_msgtype msg_type; /* AS_REQ or TGS_REQ? */
- krb5_pa_data FAR * FAR *padata; /* e.g. encoded AP_REQ */
+ krb5_pa_data **padata; /* e.g. encoded AP_REQ */
/* real body */
krb5_flags kdc_options; /* requested options */
krb5_principal client; /* includes realm; optional */
@@ -913,26 +911,26 @@ typedef struct _krb5_kdc_req {
krb5_timestamp rtime; /* (optional) requested renew_till */
krb5_int32 nonce; /* nonce to match request/response */
int nktypes; /* # of ktypes, must be positive */
- krb5_enctype FAR *ktype; /* requested enctype(s) */
- krb5_address FAR * FAR *addresses; /* requested addresses, optional */
+ krb5_enctype *ktype; /* requested enctype(s) */
+ krb5_address **addresses; /* requested addresses, optional */
krb5_enc_data authorization_data; /* encrypted auth data; OPTIONAL */
- krb5_authdata FAR * FAR *unenc_authdata; /* unencrypted auth data,
+ krb5_authdata **unenc_authdata; /* unencrypted auth data,
if available */
- krb5_ticket FAR * FAR *second_ticket;/* second ticket array; OPTIONAL */
+ krb5_ticket **second_ticket;/* second ticket array; OPTIONAL */
} krb5_kdc_req;
typedef struct _krb5_enc_kdc_rep_part {
krb5_magic magic;
/* encrypted part: */
krb5_msgtype msg_type; /* krb5 message type */
- krb5_keyblock FAR *session; /* session key */
- krb5_last_req_entry FAR * FAR *last_req; /* array of ptrs to entries */
+ krb5_keyblock *session; /* session key */
+ krb5_last_req_entry **last_req; /* array of ptrs to entries */
krb5_int32 nonce; /* nonce from request */
krb5_timestamp key_exp; /* expiration date */
krb5_flags flags; /* ticket flags */
krb5_ticket_times times; /* lifetime info */
krb5_principal server; /* server's principal identifier */
- krb5_address FAR * FAR *caddrs; /* array of ptrs to addresses,
+ krb5_address **caddrs; /* array of ptrs to addresses,
optional */
} krb5_enc_kdc_rep_part;
@@ -940,12 +938,12 @@ typedef struct _krb5_kdc_rep {
krb5_magic magic;
/* cleartext part: */
krb5_msgtype msg_type; /* AS_REP or KDC_REP? */
- krb5_pa_data FAR * FAR *padata; /* preauthentication data from KDC */
+ krb5_pa_data **padata; /* preauthentication data from KDC */
krb5_principal client; /* client's principal identifier */
- krb5_ticket FAR *ticket; /* ticket */
+ krb5_ticket *ticket; /* ticket */
krb5_enc_data enc_part; /* encryption type, kvno, encrypted
encoding */
- krb5_enc_kdc_rep_part FAR *enc_part2;/* unencrypted version, if available */
+ krb5_enc_kdc_rep_part *enc_part2;/* unencrypted version, if available */
} krb5_kdc_rep;
/* error message structure */
@@ -967,7 +965,7 @@ typedef struct _krb5_error {
typedef struct _krb5_ap_req {
krb5_magic magic;
krb5_flags ap_options; /* requested options */
- krb5_ticket FAR *ticket; /* ticket */
+ krb5_ticket *ticket; /* ticket */
krb5_enc_data authenticator; /* authenticator (already encrypted) */
} krb5_ap_req;
@@ -980,7 +978,7 @@ typedef struct _krb5_ap_rep_enc_part {
krb5_magic magic;
krb5_timestamp ctime; /* client time, seconds portion */
krb5_int32 cusec; /* client time, microseconds portion */
- krb5_keyblock FAR *subkey; /* true session key, optional */
+ krb5_keyblock *subkey; /* true session key, optional */
krb5_int32 seq_number; /* sequence #, optional */
} krb5_ap_rep_enc_part;
@@ -994,14 +992,14 @@ typedef struct _krb5_response {
typedef struct _krb5_cred_info {
krb5_magic magic;
- krb5_keyblock FAR *session; /* session key used to encrypt */
+ krb5_keyblock *session; /* session key used to encrypt */
/* ticket */
krb5_principal client; /* client name/realm, optional */
krb5_principal server; /* server name/realm, optional */
krb5_flags flags; /* ticket flags, optional */
krb5_ticket_times times; /* auth, start, end, renew_till, */
/* optional */
- krb5_address FAR * FAR *caddrs; /* array of ptrs to addresses */
+ krb5_address **caddrs; /* array of ptrs to addresses */
} krb5_cred_info;
typedef struct _krb5_cred_enc_part {
@@ -1009,29 +1007,29 @@ typedef struct _krb5_cred_enc_part {
krb5_int32 nonce; /* nonce, optional */
krb5_timestamp timestamp; /* client time */
krb5_int32 usec; /* microsecond portion of time */
- krb5_address FAR *s_address; /* sender address, optional */
- krb5_address FAR *r_address; /* recipient address, optional */
- krb5_cred_info FAR * FAR *ticket_info;
+ krb5_address *s_address; /* sender address, optional */
+ krb5_address *r_address; /* recipient address, optional */
+ krb5_cred_info **ticket_info;
} krb5_cred_enc_part;
typedef struct _krb5_cred {
krb5_magic magic;
- krb5_ticket FAR * FAR *tickets; /* tickets */
+ krb5_ticket **tickets; /* tickets */
krb5_enc_data enc_part; /* encrypted part */
- krb5_cred_enc_part FAR *enc_part2; /* unencrypted version, if available*/
+ krb5_cred_enc_part *enc_part2; /* unencrypted version, if available*/
} krb5_cred;
/* Sandia password generation structures */
typedef struct _passwd_phrase_element {
krb5_magic magic;
- krb5_data FAR *passwd;
- krb5_data FAR *phrase;
+ krb5_data *passwd;
+ krb5_data *phrase;
} passwd_phrase_element;
typedef struct _krb5_pwd_data {
krb5_magic magic;
int sequence_count;
- passwd_phrase_element FAR * FAR *element;
+ passwd_phrase_element **element;
} krb5_pwd_data;
/* these need to be here so the typedefs are available for the prototypes */
@@ -1070,7 +1068,7 @@ typedef struct krb5_replay_data {
typedef krb5_pointer krb5_cc_cursor; /* cursor for sequential lookup */
struct _krb5_ccache;
-typedef struct _krb5_ccache FAR *krb5_ccache;
+typedef struct _krb5_ccache *krb5_ccache;
struct _krb5_cc_ops;
typedef struct _krb5_cc_ops krb5_cc_ops;
@@ -1089,11 +1087,11 @@ typedef struct _krb5_cc_ops krb5_cc_ops;
/* for set_flags and other functions */
#define KRB5_TC_OPENCLOSE 0x00000001
-const char FAR * KRB5_CALLCONV
+const char * KRB5_CALLCONV
krb5_cc_get_name (krb5_context context, krb5_ccache cache);
krb5_error_code KRB5_CALLCONV
-krb5_cc_gen_new (krb5_context context, krb5_ccache FAR *cache);
+krb5_cc_gen_new (krb5_context context, krb5_ccache *cache);
krb5_error_code KRB5_CALLCONV
krb5_cc_initialize(krb5_context context, krb5_ccache cache,
@@ -1107,37 +1105,37 @@ krb5_cc_close (krb5_context context, krb5_ccache cache);
krb5_error_code KRB5_CALLCONV
krb5_cc_store_cred (krb5_context context, krb5_ccache cache,
- krb5_creds FAR *creds);
+ krb5_creds *creds);
krb5_error_code KRB5_CALLCONV
krb5_cc_retrieve_cred (krb5_context context, krb5_ccache cache,
- krb5_flags flags, krb5_creds FAR *mcreds,
- krb5_creds FAR *creds);
+ krb5_flags flags, krb5_creds *mcreds,
+ krb5_creds *creds);
krb5_error_code KRB5_CALLCONV
krb5_cc_get_principal (krb5_context context, krb5_ccache cache,
- krb5_principal FAR *principal);
+ krb5_principal *principal);
krb5_error_code KRB5_CALLCONV
krb5_cc_start_seq_get (krb5_context context, krb5_ccache cache,
- krb5_cc_cursor FAR *cursor);
+ krb5_cc_cursor *cursor);
krb5_error_code KRB5_CALLCONV
krb5_cc_next_cred (krb5_context context, krb5_ccache cache,
- krb5_cc_cursor FAR *cursor, krb5_creds FAR *creds);
+ krb5_cc_cursor *cursor, krb5_creds *creds);
krb5_error_code KRB5_CALLCONV
krb5_cc_end_seq_get (krb5_context context, krb5_ccache cache,
- krb5_cc_cursor FAR *cursor);
+ krb5_cc_cursor *cursor);
krb5_error_code KRB5_CALLCONV
krb5_cc_remove_cred (krb5_context context, krb5_ccache cache, krb5_flags flags,
- krb5_creds FAR *creds);
+ krb5_creds *creds);
krb5_error_code KRB5_CALLCONV
krb5_cc_set_flags (krb5_context context, krb5_ccache cache, krb5_flags flags);
-const char FAR * KRB5_CALLCONV
+const char * KRB5_CALLCONV
krb5_cc_get_type (krb5_context context, krb5_ccache cache);
/*
@@ -1149,36 +1147,36 @@ krb5_cc_get_type (krb5_context context, krb5_ccache cache);
*/
struct krb5_rc_st;
-typedef struct krb5_rc_st FAR *krb5_rcache;
+typedef struct krb5_rc_st *krb5_rcache;
typedef struct _krb5_donot_replay {
krb5_magic magic;
- char FAR *server; /* null-terminated */
- char FAR *client; /* null-terminated */
+ char *server; /* null-terminated */
+ char *client; /* null-terminated */
krb5_int32 cusec;
krb5_timestamp ctime;
} krb5_donot_replay;
krb5_error_code krb5_rc_default
(krb5_context,
- krb5_rcache FAR *);
+ krb5_rcache *);
krb5_error_code krb5_rc_resolve_type
(krb5_context,
- krb5_rcache FAR *,char FAR *);
+ krb5_rcache *,char *);
krb5_error_code krb5_rc_resolve_full
(krb5_context,
- krb5_rcache FAR *,char FAR *);
-char FAR * krb5_rc_get_type
+ krb5_rcache *,char *);
+char * krb5_rc_get_type
(krb5_context,
krb5_rcache);
-char FAR * krb5_rc_default_type
+char * krb5_rc_default_type
(krb5_context);
-char FAR * krb5_rc_default_name
+char * krb5_rc_default_name
(krb5_context);
krb5_error_code krb5_auth_to_rep
(krb5_context,
- krb5_tkt_authent FAR *,
- krb5_donot_replay FAR *);
+ krb5_tkt_authent *,
+ krb5_donot_replay *);
krb5_error_code KRB5_CALLCONV krb5_rc_initialize
@@ -1190,15 +1188,15 @@ krb5_error_code KRB5_CALLCONV krb5_rc_destroy
krb5_error_code KRB5_CALLCONV krb5_rc_close
(krb5_context, krb5_rcache);
krb5_error_code KRB5_CALLCONV krb5_rc_store
- (krb5_context, krb5_rcache,krb5_donot_replay FAR *);
+ (krb5_context, krb5_rcache,krb5_donot_replay *);
krb5_error_code KRB5_CALLCONV krb5_rc_expunge
(krb5_context, krb5_rcache);
krb5_error_code KRB5_CALLCONV krb5_rc_get_lifespan
- (krb5_context, krb5_rcache,krb5_deltat FAR *);
-char FAR *KRB5_CALLCONV krb5_rc_get_name
+ (krb5_context, krb5_rcache,krb5_deltat *);
+char *KRB5_CALLCONV krb5_rc_get_name
(krb5_context, krb5_rcache);
krb5_error_code KRB5_CALLCONV krb5_rc_resolve
- (krb5_context, krb5_rcache, char FAR *);
+ (krb5_context, krb5_rcache, char *);
/*
* end "rcache.h"
@@ -1225,23 +1223,23 @@ typedef struct krb5_keytab_entry_st {
typedef struct _krb5_kt {
krb5_magic magic;
- struct _krb5_kt_ops FAR *ops;
+ struct _krb5_kt_ops *ops;
krb5_pointer data;
-} FAR *krb5_keytab;
+} *krb5_keytab;
typedef struct _krb5_kt_ops {
krb5_magic magic;
- char FAR *prefix;
+ char *prefix;
/* routines always present */
krb5_error_code (KRB5_CALLCONV *resolve)
(krb5_context,
- krb5_const char FAR *,
- krb5_keytab FAR *);
+ krb5_const char *,
+ krb5_keytab *);
krb5_error_code (KRB5_CALLCONV *get_name)
(krb5_context,
krb5_keytab,
- char FAR *,
+ char *,
unsigned int);
krb5_error_code (KRB5_CALLCONV *close)
(krb5_context,
@@ -1252,29 +1250,29 @@ typedef struct _krb5_kt_ops {
krb5_const_principal,
krb5_kvno,
krb5_enctype,
- krb5_keytab_entry FAR *);
+ krb5_keytab_entry *);
krb5_error_code (KRB5_CALLCONV *start_seq_get)
(krb5_context,
krb5_keytab,
- krb5_kt_cursor FAR *);
+ krb5_kt_cursor *);
krb5_error_code (KRB5_CALLCONV *get_next)
(krb5_context,
krb5_keytab,
- krb5_keytab_entry FAR *,
- krb5_kt_cursor FAR *);
+ krb5_keytab_entry *,
+ krb5_kt_cursor *);
krb5_error_code (KRB5_CALLCONV *end_get)
(krb5_context,
krb5_keytab,
- krb5_kt_cursor FAR *);
+ krb5_kt_cursor *);
/* routines to be included on extended version (write routines) */
krb5_error_code (KRB5_CALLCONV *add)
(krb5_context,
krb5_keytab,
- krb5_keytab_entry FAR *);
+ krb5_keytab_entry *);
krb5_error_code (KRB5_CALLCONV *remove)
(krb5_context,
krb5_keytab,
- krb5_keytab_entry FAR *);
+ krb5_keytab_entry *);
/* Handle for serializer */
void * serializer;
@@ -1302,9 +1300,9 @@ extern krb5_kt_ops krb5_kt_dfl_ops;
*/
krb5_error_code KRB5_CALLCONV krb5_init_context
- (krb5_context FAR *);
+ (krb5_context *);
krb5_error_code KRB5_CALLCONV krb5_init_secure_context
- (krb5_context FAR *);
+ (krb5_context *);
void KRB5_CALLCONV krb5_free_context
(krb5_context);
@@ -1339,8 +1337,8 @@ krb5_error_code krb5_kdc_rep_decrypt_proc
krb5_kdc_rep * );
krb5_error_code KRB5_CALLCONV krb5_decrypt_tkt_part
(krb5_context,
- krb5_const krb5_keyblock FAR *,
- krb5_ticket FAR * );
+ krb5_const krb5_keyblock *,
+ krb5_ticket * );
krb5_error_code krb5_get_cred_from_kdc
(krb5_context,
krb5_ccache, /* not const, as reading may save
@@ -1364,7 +1362,7 @@ krb5_error_code krb5_get_cred_from_kdc_renew
krb5_creds *** );
void KRB5_CALLCONV krb5_free_tgt_creds
(krb5_context,
- krb5_creds FAR * FAR* ); /* XXX too hard to do with const */
+ krb5_creds **); /* XXX too hard to do with const */
#define KRB5_GC_USER_USER 1 /* want user-user ticket */
#define KRB5_GC_CACHED 2 /* want cached ticket only */
@@ -1373,20 +1371,20 @@ krb5_error_code KRB5_CALLCONV krb5_get_credentials
(krb5_context,
krb5_const krb5_flags,
krb5_ccache,
- krb5_creds FAR *,
- krb5_creds FAR * FAR *);
+ krb5_creds *,
+ krb5_creds **);
krb5_error_code KRB5_CALLCONV krb5_get_credentials_validate
(krb5_context,
krb5_const krb5_flags,
krb5_ccache,
- krb5_creds FAR *,
- krb5_creds FAR * FAR *);
+ krb5_creds *,
+ krb5_creds **);
krb5_error_code KRB5_CALLCONV krb5_get_credentials_renew
(krb5_context,
krb5_const krb5_flags,
krb5_ccache,
- krb5_creds FAR *,
- krb5_creds FAR * FAR *);
+ krb5_creds *,
+ krb5_creds **);
krb5_error_code krb5_get_cred_via_tkt
(krb5_context,
krb5_creds *,
@@ -1396,65 +1394,65 @@ krb5_error_code krb5_get_cred_via_tkt
krb5_creds **);
krb5_error_code KRB5_CALLCONV krb5_mk_req
(krb5_context,
- krb5_auth_context FAR *,
+ krb5_auth_context *,
krb5_const krb5_flags,
- char FAR *,
- char FAR *,
- krb5_data FAR *,
+ char *,
+ char *,
+ krb5_data *,
krb5_ccache,
- krb5_data FAR * );
+ krb5_data * );
krb5_error_code KRB5_CALLCONV krb5_mk_req_extended
(krb5_context,
- krb5_auth_context FAR *,
+ krb5_auth_context *,
krb5_const krb5_flags,
- krb5_data FAR *,
- krb5_creds FAR *,
- krb5_data FAR * );
+ krb5_data *,
+ krb5_creds *,
+ krb5_data * );
krb5_error_code KRB5_CALLCONV krb5_mk_rep
(krb5_context,
krb5_auth_context,
- krb5_data FAR *);
+ krb5_data *);
krb5_error_code KRB5_CALLCONV krb5_rd_rep
(krb5_context,
krb5_auth_context,
- krb5_const krb5_data FAR *,
- krb5_ap_rep_enc_part FAR * FAR *);
+ krb5_const krb5_data *,
+ krb5_ap_rep_enc_part **);
krb5_error_code KRB5_CALLCONV krb5_mk_error
(krb5_context,
- krb5_const krb5_error FAR *,
- krb5_data FAR * );
+ krb5_const krb5_error *,
+ krb5_data * );
krb5_error_code KRB5_CALLCONV krb5_rd_error
(krb5_context,
- krb5_const krb5_data FAR *,
- krb5_error FAR * FAR * );
+ krb5_const krb5_data *,
+ krb5_error ** );
krb5_error_code KRB5_CALLCONV krb5_rd_safe
(krb5_context,
krb5_auth_context,
- krb5_const krb5_data FAR *,
- krb5_data FAR *,
- krb5_replay_data FAR *);
+ krb5_const krb5_data *,
+ krb5_data *,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_rd_priv
(krb5_context,
krb5_auth_context,
- krb5_const krb5_data FAR *,
- krb5_data FAR *,
- krb5_replay_data FAR *);
+ krb5_const krb5_data *,
+ krb5_data *,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_parse_name
(krb5_context,
- krb5_const char FAR *,
- krb5_principal FAR * );
+ krb5_const char *,
+ krb5_principal * );
krb5_error_code KRB5_CALLCONV krb5_unparse_name
(krb5_context,
krb5_const_principal,
- char FAR * FAR * );
+ char ** );
krb5_error_code KRB5_CALLCONV krb5_unparse_name_ext
(krb5_context,
krb5_const_principal,
- char FAR * FAR *,
- unsigned int FAR *);
+ char **,
+ unsigned int *);
krb5_error_code KRB5_CALLCONV krb5_set_principal_realm
- (krb5_context, krb5_principal, const char FAR *);
+ (krb5_context, krb5_principal, const char *);
krb5_boolean krb5_address_search
(krb5_context,
@@ -1478,48 +1476,48 @@ krb5_boolean KRB5_CALLCONV krb5_principal_compare
krb5_const_principal);
krb5_error_code KRB5_CALLCONV krb5_copy_keyblock
(krb5_context,
- krb5_const krb5_keyblock FAR *,
- krb5_keyblock FAR * FAR *);
+ krb5_const krb5_keyblock *,
+ krb5_keyblock **);
krb5_error_code KRB5_CALLCONV krb5_copy_keyblock_contents
(krb5_context,
- krb5_const krb5_keyblock FAR *,
- krb5_keyblock FAR *);
+ krb5_const krb5_keyblock *,
+ krb5_keyblock *);
krb5_error_code KRB5_CALLCONV krb5_copy_creds
(krb5_context,
- krb5_const krb5_creds FAR *,
- krb5_creds FAR * FAR *);
+ krb5_const krb5_creds *,
+ krb5_creds **);
krb5_error_code KRB5_CALLCONV krb5_copy_data
(krb5_context,
- krb5_const krb5_data FAR *,
- krb5_data FAR * FAR *);
+ krb5_const krb5_data *,
+ krb5_data **);
krb5_error_code KRB5_CALLCONV krb5_copy_principal
(krb5_context,
krb5_const_principal,
- krb5_principal FAR *);
+ krb5_principal *);
krb5_error_code KRB5_CALLCONV krb5_copy_addr
(krb5_context,
- const krb5_address FAR *,
- krb5_address FAR * FAR *);
+ const krb5_address *,
+ krb5_address **);
krb5_error_code KRB5_CALLCONV krb5_copy_addresses
(krb5_context,
- krb5_address FAR * krb5_const FAR *,
- krb5_address FAR * FAR * FAR *);
+ krb5_address * krb5_const *,
+ krb5_address ***);
krb5_error_code KRB5_CALLCONV krb5_copy_ticket
(krb5_context,
- krb5_const krb5_ticket FAR *,
- krb5_ticket FAR * FAR *);
+ krb5_const krb5_ticket *,
+ krb5_ticket **);
krb5_error_code KRB5_CALLCONV krb5_copy_authdata
(krb5_context,
- krb5_authdata FAR * krb5_const FAR *,
- krb5_authdata FAR * FAR * FAR *);
+ krb5_authdata * krb5_const *,
+ krb5_authdata ***);
krb5_error_code KRB5_CALLCONV krb5_copy_authenticator
(krb5_context,
- krb5_const krb5_authenticator FAR *,
- krb5_authenticator FAR * FAR *);
+ krb5_const krb5_authenticator *,
+ krb5_authenticator **);
krb5_error_code KRB5_CALLCONV krb5_copy_checksum
(krb5_context,
- krb5_const krb5_checksum FAR *,
- krb5_checksum FAR * FAR *);
+ krb5_const krb5_checksum *,
+ krb5_checksum **);
void krb5_init_ets
(krb5_context);
void krb5_free_ets
@@ -1534,9 +1532,9 @@ krb5_error_code KRB5_CALLCONV krb5_get_server_rcache
(krb5_context,
krb5_const krb5_data *, krb5_rcache *);
krb5_error_code KRB5_CALLCONV_C krb5_build_principal_ext
- (krb5_context, krb5_principal FAR *, unsigned int, krb5_const char FAR *, ...);
+ (krb5_context, krb5_principal *, unsigned int, krb5_const char *, ...);
krb5_error_code KRB5_CALLCONV_C krb5_build_principal
- (krb5_context, krb5_principal FAR *, unsigned int, krb5_const char FAR *, ...);
+ (krb5_context, krb5_principal *, unsigned int, krb5_const char *, ...);
#ifdef va_start
/* XXX depending on varargs include file defining va_start... */
krb5_error_code krb5_build_principal_va
@@ -1546,13 +1544,13 @@ krb5_error_code krb5_build_principal_va
krb5_error_code KRB5_CALLCONV krb5_425_conv_principal
(krb5_context,
- krb5_const char FAR *name,
- krb5_const char FAR *instance, krb5_const char FAR *realm,
- krb5_principal FAR *princ);
+ krb5_const char *name,
+ krb5_const char *instance, krb5_const char *realm,
+ krb5_principal *princ);
krb5_error_code KRB5_CALLCONV krb5_524_conv_principal
(krb5_context context, krb5_const krb5_principal princ,
- char FAR *name, char FAR *inst, char FAR *realm);
+ char *name, char *inst, char *realm);
krb5_error_code KRB5_CALLCONV krb5_mk_chpw_req
(krb5_context context, krb5_auth_context auth_context,
@@ -1568,31 +1566,31 @@ krb5_error_code KRB5_CALLCONV krb5_chpw_result_code_string
/* libkt.spec */
krb5_error_code KRB5_CALLCONV krb5_kt_register
(krb5_context,
- krb5_kt_ops FAR * );
+ krb5_kt_ops * );
krb5_error_code KRB5_CALLCONV krb5_kt_resolve
(krb5_context,
- krb5_const char FAR *,
- krb5_keytab FAR * );
+ krb5_const char *,
+ krb5_keytab * );
krb5_error_code KRB5_CALLCONV krb5_kt_default_name
(krb5_context,
- char FAR *,
+ char *,
int );
krb5_error_code KRB5_CALLCONV krb5_kt_default
(krb5_context,
- krb5_keytab FAR * );
+ krb5_keytab * );
krb5_error_code KRB5_CALLCONV krb5_kt_free_entry
(krb5_context,
- krb5_keytab_entry FAR * );
+ krb5_keytab_entry * );
/* remove and add are functions, so that they can return NOWRITE
if not a writable keytab */
krb5_error_code KRB5_CALLCONV krb5_kt_remove_entry
(krb5_context,
krb5_keytab,
- krb5_keytab_entry FAR * );
+ krb5_keytab_entry * );
krb5_error_code KRB5_CALLCONV krb5_kt_add_entry
(krb5_context,
krb5_keytab,
- krb5_keytab_entry FAR * );
+ krb5_keytab_entry * );
krb5_error_code krb5_principal2salt
(krb5_context,
krb5_const_principal, krb5_data *);
@@ -1605,15 +1603,15 @@ krb5_error_code krb5_principal2salt_norealm
/* libcc.spec */
krb5_error_code KRB5_CALLCONV krb5_cc_resolve
(krb5_context,
- const char FAR *,
- krb5_ccache FAR * );
-const char FAR * KRB5_CALLCONV krb5_cc_default_name
+ const char *,
+ krb5_ccache * );
+const char * KRB5_CALLCONV krb5_cc_default_name
(krb5_context);
krb5_error_code KRB5_CALLCONV krb5_cc_set_default_name
(krb5_context, const char *);
krb5_error_code KRB5_CALLCONV krb5_cc_default
(krb5_context,
- krb5_ccache FAR *);
+ krb5_ccache *);
unsigned int KRB5_CALLCONV krb5_get_notification_message
(void);
@@ -1637,97 +1635,97 @@ void krb5_free_realm_tree
void KRB5_CALLCONV krb5_free_principal
(krb5_context, krb5_principal );
void KRB5_CALLCONV krb5_free_authenticator
- (krb5_context, krb5_authenticator FAR * );
+ (krb5_context, krb5_authenticator * );
void KRB5_CALLCONV krb5_free_authenticator_contents
- (krb5_context, krb5_authenticator FAR * );
+ (krb5_context, krb5_authenticator * );
void KRB5_CALLCONV krb5_free_addresses
- (krb5_context, krb5_address FAR * FAR * );
+ (krb5_context, krb5_address ** );
void KRB5_CALLCONV krb5_free_address
- (krb5_context, krb5_address FAR * );
+ (krb5_context, krb5_address * );
void KRB5_CALLCONV krb5_free_authdata
- (krb5_context, krb5_authdata FAR * FAR * );
+ (krb5_context, krb5_authdata ** );
void KRB5_CALLCONV krb5_free_enc_tkt_part
- (krb5_context, krb5_enc_tkt_part FAR * );
+ (krb5_context, krb5_enc_tkt_part * );
void KRB5_CALLCONV krb5_free_ticket
- (krb5_context, krb5_ticket FAR * );
+ (krb5_context, krb5_ticket * );
void KRB5_CALLCONV krb5_free_tickets
- (krb5_context, krb5_ticket FAR * FAR * );
+ (krb5_context, krb5_ticket ** );
void KRB5_CALLCONV krb5_free_kdc_req
- (krb5_context, krb5_kdc_req FAR * );
+ (krb5_context, krb5_kdc_req * );
void KRB5_CALLCONV krb5_free_kdc_rep
- (krb5_context, krb5_kdc_rep FAR * );
+ (krb5_context, krb5_kdc_rep * );
void KRB5_CALLCONV krb5_free_last_req
- (krb5_context, krb5_last_req_entry FAR * FAR * );
+ (krb5_context, krb5_last_req_entry ** );
void KRB5_CALLCONV krb5_free_enc_kdc_rep_part
- (krb5_context, krb5_enc_kdc_rep_part FAR * );
+ (krb5_context, krb5_enc_kdc_rep_part * );
void KRB5_CALLCONV krb5_free_error
- (krb5_context, krb5_error FAR * );
+ (krb5_context, krb5_error * );
void KRB5_CALLCONV krb5_free_ap_req
- (krb5_context, krb5_ap_req FAR * );
+ (krb5_context, krb5_ap_req * );
void KRB5_CALLCONV krb5_free_ap_rep
- (krb5_context, krb5_ap_rep FAR * );
+ (krb5_context, krb5_ap_rep * );
void KRB5_CALLCONV krb5_free_cred
- (krb5_context, krb5_cred FAR *);
+ (krb5_context, krb5_cred *);
void KRB5_CALLCONV krb5_free_creds
- (krb5_context, krb5_creds FAR *);
+ (krb5_context, krb5_creds *);
void KRB5_CALLCONV krb5_free_cred_contents
- (krb5_context, krb5_creds FAR *);
+ (krb5_context, krb5_creds *);
void KRB5_CALLCONV krb5_free_cred_enc_part
- (krb5_context, krb5_cred_enc_part FAR *);
+ (krb5_context, krb5_cred_enc_part *);
void KRB5_CALLCONV krb5_free_checksum
- (krb5_context, krb5_checksum FAR *);
+ (krb5_context, krb5_checksum *);
void KRB5_CALLCONV krb5_free_checksum_contents
- (krb5_context, krb5_checksum FAR *);
+ (krb5_context, krb5_checksum *);
void KRB5_CALLCONV krb5_free_keyblock
- (krb5_context, krb5_keyblock FAR *);
+ (krb5_context, krb5_keyblock *);
void KRB5_CALLCONV krb5_free_keyblock_contents
- (krb5_context, krb5_keyblock FAR *);
+ (krb5_context, krb5_keyblock *);
void KRB5_CALLCONV krb5_free_pa_data
- (krb5_context, krb5_pa_data FAR * FAR *);
+ (krb5_context, krb5_pa_data **);
void KRB5_CALLCONV krb5_free_ap_rep_enc_part
- (krb5_context, krb5_ap_rep_enc_part FAR *);
+ (krb5_context, krb5_ap_rep_enc_part *);
void KRB5_CALLCONV krb5_free_tkt_authent
- (krb5_context, krb5_tkt_authent FAR *);
+ (krb5_context, krb5_tkt_authent *);
void KRB5_CALLCONV krb5_free_pwd_data
- (krb5_context, krb5_pwd_data FAR *);
+ (krb5_context, krb5_pwd_data *);
void KRB5_CALLCONV krb5_free_pwd_sequences
- (krb5_context, passwd_phrase_element FAR * FAR *);
+ (krb5_context, passwd_phrase_element **);
void KRB5_CALLCONV krb5_free_data
- (krb5_context, krb5_data FAR *);
+ (krb5_context, krb5_data *);
void KRB5_CALLCONV krb5_free_data_contents
- (krb5_context, krb5_data FAR *);
+ (krb5_context, krb5_data *);
void KRB5_CALLCONV krb5_free_unparsed_name
- (krb5_context, char FAR *);
+ (krb5_context, char *);
void KRB5_CALLCONV krb5_free_cksumtypes
- (krb5_context, krb5_cksumtype FAR *);
+ (krb5_context, krb5_cksumtype *);
/* From krb5/os but needed but by the outside world */
krb5_error_code KRB5_CALLCONV krb5_us_timeofday
(krb5_context,
- krb5_int32 FAR *,
- krb5_int32 FAR * );
+ krb5_int32 *,
+ krb5_int32 * );
krb5_error_code KRB5_CALLCONV krb5_timeofday
(krb5_context,
- krb5_int32 FAR * );
+ krb5_int32 * );
/* get all the addresses of this host */
krb5_error_code KRB5_CALLCONV krb5_os_localaddr
(krb5_context,
- krb5_address FAR * FAR * FAR *);
+ krb5_address ***);
krb5_error_code KRB5_CALLCONV krb5_get_default_realm
(krb5_context,
- char FAR * FAR * );
+ char ** );
krb5_error_code KRB5_CALLCONV krb5_set_default_realm
(krb5_context,
- krb5_const char FAR * );
+ krb5_const char * );
void KRB5_CALLCONV krb5_free_default_realm
(krb5_context,
- char FAR * );
+ char * );
krb5_error_code KRB5_CALLCONV krb5_sname_to_principal
(krb5_context,
- krb5_const char FAR *,
- krb5_const char FAR *,
+ krb5_const char *,
+ krb5_const char *,
krb5_int32,
- krb5_principal FAR *);
+ krb5_principal *);
krb5_error_code KRB5_CALLCONV
krb5_change_password
(krb5_context context, krb5_creds *creds, char *newpw,
@@ -1736,7 +1734,7 @@ krb5_change_password
#ifndef macintosh
krb5_error_code krb5_set_config_files
- (krb5_context, krb5_const char FAR * FAR *);
+ (krb5_context, krb5_const char **);
krb5_error_code KRB5_CALLCONV krb5_get_default_config_files
(char ***filenames);
@@ -1766,56 +1764,56 @@ krb5_error_code krb5_send_tgs
krb5_error_code KRB5_CALLCONV krb5_get_in_tkt
(krb5_context,
krb5_const krb5_flags,
- krb5_address FAR * krb5_const FAR *,
- krb5_enctype FAR *,
- krb5_preauthtype FAR *,
- krb5_error_code ( FAR * )(krb5_context,
+ krb5_address * krb5_const *,
+ krb5_enctype *,
+ krb5_preauthtype *,
+ krb5_error_code ( * )(krb5_context,
krb5_const krb5_enctype,
- krb5_data FAR *,
+ krb5_data *,
krb5_const_pointer,
- krb5_keyblock FAR * FAR *),
+ krb5_keyblock **),
krb5_const_pointer,
- krb5_error_code ( FAR * )(krb5_context,
- krb5_const krb5_keyblock FAR *,
+ krb5_error_code ( * )(krb5_context,
+ krb5_const krb5_keyblock *,
krb5_const_pointer,
- krb5_kdc_rep FAR * ),
+ krb5_kdc_rep * ),
krb5_const_pointer,
- krb5_creds FAR *,
+ krb5_creds *,
krb5_ccache,
- krb5_kdc_rep FAR * FAR * );
+ krb5_kdc_rep ** );
krb5_error_code KRB5_CALLCONV krb5_get_in_tkt_with_password
(krb5_context,
krb5_const krb5_flags,
- krb5_address FAR * krb5_const FAR *,
- krb5_enctype FAR *,
- krb5_preauthtype FAR *,
- krb5_const char FAR *,
+ krb5_address * krb5_const *,
+ krb5_enctype *,
+ krb5_preauthtype *,
+ krb5_const char *,
krb5_ccache,
- krb5_creds FAR *,
- krb5_kdc_rep FAR * FAR * );
+ krb5_creds *,
+ krb5_kdc_rep ** );
krb5_error_code KRB5_CALLCONV krb5_get_in_tkt_with_skey
(krb5_context,
krb5_const krb5_flags,
- krb5_address FAR * krb5_const FAR *,
- krb5_enctype FAR *,
- krb5_preauthtype FAR *,
- krb5_const krb5_keyblock FAR *,
+ krb5_address * krb5_const *,
+ krb5_enctype *,
+ krb5_preauthtype *,
+ krb5_const krb5_keyblock *,
krb5_ccache,
- krb5_creds FAR *,
- krb5_kdc_rep FAR * FAR * );
+ krb5_creds *,
+ krb5_kdc_rep ** );
krb5_error_code KRB5_CALLCONV krb5_get_in_tkt_with_keytab
(krb5_context,
krb5_const krb5_flags,
- krb5_address FAR * krb5_const FAR *,
- krb5_enctype FAR *,
- krb5_preauthtype FAR *,
+ krb5_address * krb5_const *,
+ krb5_enctype *,
+ krb5_preauthtype *,
krb5_const krb5_keytab,
krb5_ccache,
- krb5_creds FAR *,
- krb5_kdc_rep FAR * FAR * );
+ krb5_creds *,
+ krb5_kdc_rep ** );
krb5_error_code krb5_decode_kdc_rep
@@ -1826,12 +1824,12 @@ krb5_error_code krb5_decode_kdc_rep
krb5_error_code KRB5_CALLCONV krb5_rd_req
(krb5_context,
- krb5_auth_context FAR *,
- krb5_const krb5_data FAR *,
+ krb5_auth_context *,
+ krb5_const krb5_data *,
krb5_const_principal,
krb5_keytab,
- krb5_flags FAR *,
- krb5_ticket FAR * FAR *);
+ krb5_flags *,
+ krb5_ticket **);
krb5_error_code krb5_rd_req_decoded
(krb5_context,
@@ -1857,57 +1855,57 @@ krb5_error_code KRB5_CALLCONV krb5_kt_read_service_key
krb5_principal,
krb5_kvno,
krb5_enctype,
- krb5_keyblock FAR * FAR *);
+ krb5_keyblock **);
krb5_error_code KRB5_CALLCONV krb5_mk_safe
(krb5_context,
krb5_auth_context,
- krb5_const krb5_data FAR *,
- krb5_data FAR *,
- krb5_replay_data FAR *);
+ krb5_const krb5_data *,
+ krb5_data *,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_mk_priv
(krb5_context,
krb5_auth_context,
- krb5_const krb5_data FAR *,
- krb5_data FAR *,
- krb5_replay_data FAR *);
+ krb5_const krb5_data *,
+ krb5_data *,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_cc_register
(krb5_context,
- krb5_cc_ops FAR *,
+ krb5_cc_ops *,
krb5_boolean );
krb5_error_code KRB5_CALLCONV krb5_sendauth
(krb5_context,
- krb5_auth_context FAR *,
+ krb5_auth_context *,
krb5_pointer,
- char FAR *,
+ char *,
krb5_principal,
krb5_principal,
krb5_flags,
- krb5_data FAR *,
- krb5_creds FAR *,
+ krb5_data *,
+ krb5_creds *,
krb5_ccache,
- krb5_error FAR * FAR *,
- krb5_ap_rep_enc_part FAR * FAR *,
- krb5_creds FAR * FAR *);
+ krb5_error **,
+ krb5_ap_rep_enc_part **,
+ krb5_creds **);
krb5_error_code KRB5_CALLCONV krb5_recvauth
(krb5_context,
- krb5_auth_context FAR *,
+ krb5_auth_context *,
krb5_pointer,
- char FAR *,
+ char *,
krb5_principal,
krb5_int32,
krb5_keytab,
- krb5_ticket FAR * FAR *);
+ krb5_ticket **);
krb5_error_code KRB5_CALLCONV krb5_recvauth_version
(krb5_context,
- krb5_auth_context FAR *,
+ krb5_auth_context *,
krb5_pointer,
krb5_principal,
krb5_int32,
krb5_keytab,
- krb5_ticket FAR * FAR *,
- krb5_data FAR *);
+ krb5_ticket **,
+ krb5_data *);
krb5_error_code krb5_walk_realm_tree
(krb5_context,
@@ -1919,37 +1917,37 @@ krb5_error_code krb5_walk_realm_tree
krb5_error_code KRB5_CALLCONV krb5_mk_ncred
(krb5_context,
krb5_auth_context,
- krb5_creds FAR * FAR *,
- krb5_data FAR * FAR *,
- krb5_replay_data FAR *);
+ krb5_creds **,
+ krb5_data **,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_mk_1cred
(krb5_context,
krb5_auth_context,
- krb5_creds FAR *,
- krb5_data FAR * FAR *,
- krb5_replay_data FAR *);
+ krb5_creds *,
+ krb5_data **,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_rd_cred
(krb5_context,
krb5_auth_context,
- krb5_data FAR *,
- krb5_creds FAR * FAR * FAR *,
- krb5_replay_data FAR *);
+ krb5_data *,
+ krb5_creds ***,
+ krb5_replay_data *);
krb5_error_code KRB5_CALLCONV krb5_fwd_tgt_creds
(krb5_context,
krb5_auth_context,
- char FAR *,
+ char *,
krb5_principal,
krb5_principal,
krb5_ccache,
int forwardable,
- krb5_data FAR *);
+ krb5_data *);
krb5_error_code KRB5_CALLCONV krb5_auth_con_init
(krb5_context,
- krb5_auth_context FAR *);
+ krb5_auth_context *);
krb5_error_code KRB5_CALLCONV krb5_auth_con_free
(krb5_context,
@@ -1963,7 +1961,7 @@ krb5_error_code KRB5_CALLCONV krb5_auth_con_setflags
krb5_error_code KRB5_CALLCONV krb5_auth_con_getflags
(krb5_context,
krb5_auth_context,
- krb5_int32 FAR *);
+ krb5_int32 *);
krb5_error_code krb5_auth_con_setaddrs
(krb5_context,
@@ -1986,7 +1984,7 @@ krb5_error_code krb5_auth_con_setports
krb5_error_code KRB5_CALLCONV krb5_auth_con_setuseruserkey
(krb5_context,
krb5_auth_context,
- krb5_keyblock FAR *);
+ krb5_keyblock *);
krb5_error_code KRB5_CALLCONV krb5_auth_con_getkey
(krb5_context,
@@ -1996,7 +1994,7 @@ krb5_error_code KRB5_CALLCONV krb5_auth_con_getkey
krb5_error_code KRB5_CALLCONV krb5_auth_con_getlocalsubkey
(krb5_context,
krb5_auth_context,
- krb5_keyblock FAR * FAR *);
+ krb5_keyblock **);
krb5_error_code KRB5_CALLCONV krb5_auth_con_set_req_cksumtype
(krb5_context,
@@ -2016,12 +2014,12 @@ krb5_error_code krb5_auth_con_getcksumtype
krb5_error_code KRB5_CALLCONV krb5_auth_con_getlocalseqnumber
(krb5_context,
krb5_auth_context,
- krb5_int32 FAR *);
+ krb5_int32 *);
krb5_error_code KRB5_CALLCONV krb5_auth_con_getremoteseqnumber
(krb5_context,
krb5_auth_context,
- krb5_int32 FAR *);
+ krb5_int32 *);
krb5_error_code krb5_auth_con_initivector
(krb5_context,
@@ -2060,12 +2058,12 @@ krb5_error_code krb5_auth_con_getpermetypes
krb5_error_code KRB5_CALLCONV krb5_auth_con_getauthenticator
(krb5_context,
krb5_auth_context,
- krb5_authenticator FAR * FAR *);
+ krb5_authenticator **);
krb5_error_code KRB5_CALLCONV krb5_auth_con_getremotesubkey
(krb5_context,
krb5_auth_context,
- krb5_keyblock FAR * FAR *);
+ krb5_keyblock **);
#define KRB5_REALM_BRANCH_CHAR '.'
@@ -2084,10 +2082,10 @@ int krb5_net_write (krb5_context, int , const char *, int);
krb5_error_code KRB5_CALLCONV krb5_read_password
(krb5_context,
- const char FAR *,
- const char FAR *,
- char FAR *,
- unsigned int FAR * );
+ const char *,
+ const char *,
+ char *,
+ unsigned int * );
krb5_error_code krb5_aname_to_localname
(krb5_context,
krb5_const_principal,
@@ -2095,11 +2093,11 @@ krb5_error_code krb5_aname_to_localname
char * );
krb5_error_code KRB5_CALLCONV krb5_get_host_realm
(krb5_context,
- const char FAR *,
- char FAR * FAR * FAR * );
+ const char *,
+ char *** );
krb5_error_code KRB5_CALLCONV krb5_free_host_realm
(krb5_context,
- char FAR * const FAR * );
+ char * const * );
krb5_error_code KRB5_CALLCONV krb5_get_realm_domain
(krb5_context,
const char *,
@@ -2140,27 +2138,27 @@ krb5_error_code krb5_set_time_offsets
/* str_conv.c */
krb5_error_code KRB5_CALLCONV krb5_string_to_enctype
- (char FAR *, krb5_enctype FAR *);
+ (char *, krb5_enctype *);
krb5_error_code KRB5_CALLCONV krb5_string_to_salttype
- (char FAR *, krb5_int32 FAR *);
+ (char *, krb5_int32 *);
krb5_error_code KRB5_CALLCONV krb5_string_to_cksumtype
- (char FAR *, krb5_cksumtype FAR *);
+ (char *, krb5_cksumtype *);
krb5_error_code KRB5_CALLCONV krb5_string_to_timestamp
- (char FAR *, krb5_timestamp FAR *);
+ (char *, krb5_timestamp *);
krb5_error_code KRB5_CALLCONV krb5_string_to_deltat
- (char FAR *, krb5_deltat FAR *);
+ (char *, krb5_deltat *);
krb5_error_code KRB5_CALLCONV krb5_enctype_to_string
- (krb5_enctype, char FAR *, size_t);
+ (krb5_enctype, char *, size_t);
krb5_error_code KRB5_CALLCONV krb5_salttype_to_string
- (krb5_int32, char FAR *, size_t);
+ (krb5_int32, char *, size_t);
krb5_error_code KRB5_CALLCONV krb5_cksumtype_to_string
- (krb5_cksumtype, char FAR *, size_t);
+ (krb5_cksumtype, char *, size_t);
krb5_error_code KRB5_CALLCONV krb5_timestamp_to_string
- (krb5_timestamp, char FAR *, size_t);
+ (krb5_timestamp, char *, size_t);
krb5_error_code KRB5_CALLCONV krb5_timestamp_to_sfstring
- (krb5_timestamp, char FAR *, size_t, char FAR *);
+ (krb5_timestamp, char *, size_t, char *);
krb5_error_code KRB5_CALLCONV krb5_deltat_to_string
- (krb5_deltat, char FAR *, size_t);
+ (krb5_deltat, char *, size_t);