]> git.ipfire.org Git - thirdparty/krb5.git/commit
Dispatch-style protocol switching for transport
authorRobbie Harwood (frozencemetery) <rharwood@club.cc.cmu.edu>
Fri, 16 Aug 2013 18:48:55 +0000 (14:48 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 2 Jun 2014 21:58:27 +0000 (17:58 -0400)
commit606e2ccc0a2546a23761f910482a55c5bf0f98ac
treed05841d9821b6f83d18ed71bc68e1e5597471c3c
parentbb89afd7c59deea855d2818fe36ef7472b4abf2e
Dispatch-style protocol switching for transport

Switch to using per-transport-type functions when a socket that we're
using to communicate with a server becomes readable or writable, and add
them as pointers to the connection state.  The functions are passed the
name of the realm of the server being contacted, as we expect to need
this in the near future.

[nalin@redhat.com: replace macros with typedefs]
[nalin@redhat.com: compare transports with TCP_OR_UDP rather than with 0]

ticket: 7929
src/lib/krb5/os/changepw.c
src/lib/krb5/os/os-proto.h
src/lib/krb5/os/sendto_kdc.c