view extensions/rt_redirect/CMakeLists.txt @ 1260:4f6f61e67599

Store redirect information for ALL_SESSION and ALL_USER in a hash. This is a speedup if many of these exist (compared to checking a linked list for matches as before). Refactor a bit while here. Use the uthash code from Troy D. Hanson, http://troydhanson.github.com/uthash/
author Thomas Klausner <tk@giga.or.at>
date Mon, 24 Mar 2014 13:21:41 +0100
parents 571b3abaa5df
children
line wrap: on
line source

# The rt_redirect extension
PROJECT("Diameter Redirect messages support" C)

SET(RT_REDIR_SRC
	rt_redir.h
	rt_redir.c
	redir_entries.c
	redir_expiry.c
	redir_fwd.c
	redir_out.c
	uthash.h
	)

# Compile as a module
FD_ADD_EXTENSION(rt_redirect ${RT_REDIR_SRC})


####
## INSTALL section ##

INSTALL(TARGETS rt_redirect
	LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
	COMPONENT freeDiameter-daemon)
"Welcome to our mercurial repository"