diff options
Diffstat (limited to 'src/libstrongswan/library.h')
-rw-r--r-- | src/libstrongswan/library.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libstrongswan/library.h b/src/libstrongswan/library.h index 12aa0cb3c..7c7f087f0 100644 --- a/src/libstrongswan/library.h +++ b/src/libstrongswan/library.h @@ -226,6 +226,11 @@ enum status_t { * Destroy object which called method belongs to. */ DESTROY_ME, + + /** + * Another call to the method is required. + */ + NEED_MORE, }; /** @@ -260,6 +265,11 @@ typedef struct sockaddr sockaddr_t; void *clalloc(void *pointer, size_t size); /** + * Same as memcpy, but XORs src into dst instead of copy + */ +void memxor(u_int8_t dest[], u_int8_t src[], size_t n); + +/** * Special type to count references */ typedef volatile u_int refcount_t; |