Moved krb5int_sendto prototype to os-proto.h. This function is not exported
authorEzra Peisach <epeisach@mit.edu>
Sun, 15 Nov 2009 00:51:21 +0000 (00:51 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 15 Nov 2009 00:51:21 +0000 (00:51 +0000)
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
src/lib/krb5/os/os-proto.h

index 99cea09f494bfcc26194d515848cd04bff44f541..3a39d1b276bd2f99c3d563004f185f08f8e069a4 100644 (file)
@@ -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);
index 477ffacb0a12befc3f97177a560c73450802de8e..d07944ac1dd8fefbe56f955abc23dc7eeb2fc59b 100644 (file)
@@ -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);