From 351dc05ceb4eba497b844a4f19694fd457c431cc Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 15 Nov 2009 00:51:21 +0000 Subject: [PATCH] Moved krb5int_sendto prototype to os-proto.h. This function is not exported from libkrb5 - so the rest of the world does not need to see it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23186 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 11 ----------- src/lib/krb5/os/os-proto.h | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 99cea09f4..3a39d1b27 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -578,17 +578,6 @@ 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(krb5_context context, const krb5_data *message, - const struct addrlist *addrs, - struct sendto_callback_info* callback_info, - krb5_data *reply, struct sockaddr *localaddr, - socklen_t *localaddrlen, - struct sockaddr *remoteaddr, socklen_t *remoteaddrlen, - int *addr_used, - int (*msg_handler)(krb5_context, const krb5_data *, void *), - void *msg_handler_data); - 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); diff --git a/src/lib/krb5/os/os-proto.h b/src/lib/krb5/os/os-proto.h index 477ffacb0..d07944ac1 100644 --- a/src/lib/krb5/os/os-proto.h +++ b/src/lib/krb5/os/os-proto.h @@ -63,6 +63,17 @@ int _krb5_use_dns_realm (krb5_context); int _krb5_use_dns_kdc (krb5_context); int _krb5_conf_boolean (const char *); +krb5_error_code +krb5int_sendto(krb5_context context, const krb5_data *message, + const struct addrlist *addrs, + struct sendto_callback_info* callback_info, + krb5_data *reply, struct sockaddr *localaddr, + socklen_t *localaddrlen, + struct sockaddr *remoteaddr, socklen_t *remoteaddrlen, + int *addr_used, + int (*msg_handler)(krb5_context, const krb5_data *, void *), + void *msg_handler_data); + /* The io vector is *not* const here, unlike writev()! */ int krb5int_net_writev (krb5_context, int, sg_buf *, int); -- 2.26.2