* port-sockets.h (SG_BUF): New macro.
+ * k5-int.h (krb5int_sendto_udp, krb5int_sendto_tcp): Declarations
+ deleted.
+ (krb5int_sendto, krb5int_grow_addrlist): New decls.
+
2002-08-16 Ken Raeburn <raeburn@mit.edu>
* k5-int.h (struct _krb5_context): Add new member udp_pref_limit.
krb5_error_code krb5_unlock_file (krb5_context, int);
krb5_error_code krb5_sendto_kdc (krb5_context, const krb5_data *,
const krb5_data *, krb5_data *, int, int);
-krb5_error_code krb5int_sendto_udp (krb5_context, const krb5_data *,
- const struct addrlist *, krb5_data *,
- struct sockaddr *, socklen_t *);
-krb5_error_code krb5int_sendto_tcp (krb5_context context, const krb5_data *,
- const struct addrlist *, krb5_data *);
+krb5_error_code krb5int_sendto (krb5_context, const krb5_data *,
+ const struct addrlist *, krb5_data *,
+ struct sockaddr *, socklen_t *);
krb5_error_code krb5_get_krbhst (krb5_context, const krb5_data *, char *** );
krb5_error_code krb5_free_krbhst (krb5_context, char * const * );
krb5_error_code krb5_create_secure_file (krb5_context, const char * pathname);
};
#define ADDRLIST_INIT { 0, 0, 0 }
extern void krb5int_free_addrlist (struct addrlist *);
+extern int krb5int_grow_addrlist (struct addrlist *, int);
krb5_error_code
krb5int_locate_server (krb5_context,