summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-08-22 22:34:15 +0000
committerKen Raeburn <raeburn@mit.edu>2002-08-22 22:34:15 +0000
commit7453c4298816012ce381b5e07639acf0ea44f35d (patch)
treeb3a7d4a3ed361cfe0b46fa52e90f28ca9ec40d4a /src/kadmin/testing/scripts
parent780076301a5db4090ebda1f942b6c861331ff94b (diff)
downloadkrb5-7453c4298816012ce381b5e07639acf0ea44f35d.tar.gz
krb5-7453c4298816012ce381b5e07639acf0ea44f35d.tar.xz
krb5-7453c4298816012ce381b5e07639acf0ea44f35d.zip
* sendto_kdc.c (MAX_PASS, dprint): New macros.
(krb5int_debug_fprint, merge_addrlists): New function. (krb5int_debug_sendto_kdc): New variable. (krb5_sendto_kdc): Use dprint. Call krb5int_locate_kdc in two places, with socket type selection done separately. (debug_log_connect): Function deleted; use dprint instead. (dperror): Use dprint. (print_fdsets): Function deleted; use dprint instead. (struct conn_state): Use struct instead of union so incoming and outgoing buffer pointers can co-exist. Add INITIALIZING state. (state_strings): Add INITIALIZING. (krb5int_sendto_udp, krb5int_sendto_tcp): Functions integrated into krb5int_sendto. (call_select): Use dprint. (setup_connection): New function, handles data structure initialization. (start_connection): Renamed from start_tcp_connection. Don't do data structure initialization, just start connection, and transmit UDP datagrams. Use dprint. (maybe_send): Create socket for "INITIALIZING" connections; transmit datagrams. (kill_conn): New function split out from service_tcp_fd. (SSF_READ, SSF_WRITE, SSF_EXCEPTION): New macros. (service_tcp_fd): Accept a flag word rather than separate int arguments for read, write, exception. Use dprint. (service_udp_fd): New function. (service_fd): New function, calls one of the above two. (service_fds): Call it. Use a flag word instead of separate r/w/x values. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14742 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/testing/scripts')
0 files changed, 0 insertions, 0 deletions