utils: ref_get() returns the new value of the reference counter
authorMartin Willi <martin@revosec.ch>
Wed, 8 May 2013 13:07:09 +0000 (15:07 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 11 Jun 2013 13:54:27 +0000 (15:54 +0200)
commit3160b92adb396c5445b2f5b16b496c6fb5cec5b0
tree3db5b348f9bce1d84950ac38e3f4dcb85b3495ae
parent37a60cad3cfbf9ce98b6c76564f419fe884a1d71
utils: ref_get() returns the new value of the reference counter

This allows us to use ref_get() for getting unique values.
src/libstrongswan/utils/utils.c
src/libstrongswan/utils/utils.h