aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils.h
Commit message (Collapse)AuthorAgeFilesLines
* Added helper macros to define portable bitfields with gccMartin Willi2010-08-191-0/+22
|
* Adding the OpenSSL plugin to the Android build.Tobias Brunner2010-03-081-1/+1
|
* Adding a helper function that translates single characters in a string.Tobias Brunner2010-03-081-0/+8
|
* Add braces around empty body in if statementMartin Willi2010-03-031-1/+1
|
* Use "static const", some GCCs don't like "const static"Martin Willi2010-03-031-2/+2
|
* Fixing some includes by replacing <> with "".Tobias Brunner2010-03-021-1/+1
| | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths.
* Added a METHOD2() macro that implements a method for two different interfacesMartin Willi2010-01-211-1/+11
|
* Cast unaligned memcpy() args to char*, avoids over-optimization on ARMMartin Willi2010-01-111-4/+10
| | | | See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka3934.html
* Fixed untoh32 functionMartin Willi2009-12-231-1/+1
|
* Added a METHOD() macro to define methods with both public and private signaturesMartin Willi2009-12-171-0/+13
|
* Added a INIT() macro to initialize class instancesMartin Willi2009-12-171-0/+6
|
* Added htoun16/32 and untoh16/32 to read/write unaligned network order integersMartin Willi2009-12-151-0/+54
|
* define TIME_32_BITS_SIGNED_MAX in utils.hAndreas Steffen2009-11-081-0/+5
|
* replaces four spaces by tabs, where appropriateMartin Willi2009-09-041-3/+3
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-17/+17
|
* Added side effect free min and max macros.Tobias Brunner2009-09-011-2/+9
|
* implemented a monotonic timestamping function, unaffected from system time ↵Martin Willi2009-08-311-2/+15
| | | | changes
* Defined some missing fixed-width int types on OpenSolaris.Tobias Brunner2009-08-141-0/+13
|
* use SS_RC_FIRST and SS_RC_LASTAndreas Steffen2009-08-061-0/+3
|
* abort pluto or charon if initialization failsAndreas Steffen2009-08-061-0/+1
|
* stop strongswan if integrity check of libstrongswan or daemon failsAndreas Steffen2009-07-171-0/+6
|
* more portable handling of the bool data type (Mac OS X has stdbool.h)Tobias Brunner2009-05-061-3/+13
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* added return_true/false() dummy functionsMartin Willi2009-04-241-0/+10
|
* moved strcaseeq() macro from constants.h to utils.hAndreas Steffen2009-04-171-0/+5
|
* updated DoxyfileMartin Willi2009-03-241-1/+1
| | | | | | properly close all doxygen groups fixed remaining doxygen warnings
* printf hooks refactored to increase portability (i.e. support for platforms ↵Tobias Brunner2009-03-121-11/+10
| | | | without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
* added memstr and extract_token_str helper functionsTobias Brunner2008-12-031-0/+6
|
* ref_get()/ref_put() use atomic gcc operations if supported, thanks to Thomas ↵Martin Willi2008-12-021-0/+10
| | | | Jarosch for the patch
* fixed compiler warnings issued by:Martin Willi2008-11-111-0/+5
| | | | | | gcc 4.3 curl.h gcc type-checking glibc with enabled FORTIFY_SOURCE checking
* refining changeset 4483 by introducing charon.dh_exponent_ansi_x9_42 keyAndreas Steffen2008-10-281-5/+0
|
* use 512 bits of entropy for secret DH exponentsAndreas Steffen2008-10-261-0/+5
|
* mkdir_p: utility function to create a directory and all required parent ↵Tobias Brunner2008-08-281-0/+10
| | | | directories
* added options for virtual IP, UDP encapsulation, IPCompMartin Willi2008-07-311-2/+6
| | | | proper handling of libstrongswan/glib TRUE/FALSE conflict
* implementation of a simple "token enumerator"Martin Willi2008-07-021-0/+5
|
* extended credential_set_t interface by a cache_cert() methodMartin Willi2008-04-171-0/+5
| | | | allows persistent or in-memory caching of fetched certificates
* fixed CRL check return value on revoked certificatesMartin Willi2008-03-191-0/+5
| | | | | fixed possible refcounting bugs generic return_null() implementation
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+265