Make hash table have comparison callback, it's needed.
authoraland <aland>
Tue, 30 May 2006 22:11:18 +0000 (22:11 +0000)
committeraland <aland>
Tue, 30 May 2006 22:11:18 +0000 (22:11 +0000)
commit5ca2cbe2a5cfc62584dde5cfae8ec3e6b84ed191
treefca7767a36ad7ae7dc24d60f0d152ac93b4deca9
parent036bf0975afc442de6ba5bc84a7c98f5bbf9d8fa
Make hash table have comparison callback, it's needed.

Update dict.c, request_list.c, rlm_files.c, and rlm_detail.c
to use updated API.

Move hash definitions to src/include/hash.h.

Add src/lib/packet.c, to have more code re-use between various
programs that need to send more than one RADIUS packet.

Updated listener code in radiusd && radclient to use new packet
routines.  It's not complete yet, but the amount of duplicate
code is going down, and what's left is getting easier to understand.
14 files changed:
src/include/hash.h [new file with mode: 0644]
src/include/libradius.h
src/include/packet.h [new file with mode: 0644]
src/lib/Makefile
src/lib/dict.c
src/lib/hash.c
src/lib/packet.c [new file with mode: 0644]
src/main/listen.c
src/main/radclient.c
src/main/radwho.c
src/main/request_list.c
src/main/threads.c
src/modules/rlm_detail/rlm_detail.c
src/modules/rlm_files/rlm_files.c