aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/enum.h
Commit message (Collapse)AuthorAgeFilesLines
* enum: Return boolean result for enum_from_name() lookupMartin Willi2014-05-161-2/+23
| | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned.
* printf-hook: Move glibc/vstr printf hook backends to separate filesMartin Willi2013-10-111-1/+1
|
* Moved enum_name_t to utils folderTobias Brunner2012-10-241-0/+136