svn rev #23186: trunk/src/ include/ lib/krb5/os/

epeisach@MIT.EDU epeisach at MIT.EDU
Sat Nov 14 19:51:21 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23186
Commit By: epeisach
Log Message:
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.




Changed Files:
U   trunk/src/include/k5-int.h
U   trunk/src/lib/krb5/os/os-proto.h
Modified: trunk/src/include/k5-int.h
===================================================================
--- trunk/src/include/k5-int.h	2009-11-15 00:19:36 UTC (rev 23185)
+++ trunk/src/include/k5-int.h	2009-11-15 00:51:21 UTC (rev 23186)
@@ -578,17 +578,6 @@
 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);

Modified: trunk/src/lib/krb5/os/os-proto.h
===================================================================
--- trunk/src/lib/krb5/os/os-proto.h	2009-11-15 00:19:36 UTC (rev 23185)
+++ trunk/src/lib/krb5/os/os-proto.h	2009-11-15 00:51:21 UTC (rev 23186)
@@ -63,6 +63,17 @@
 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);
 




More information about the cvs-krb5 mailing list