diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-17 17:53:57 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-18 16:31:59 +0200 |
commit | c28265764ec6ad9995eb0c761a376ffc9f141fcd (patch) | |
tree | 3ad899757480d47deb2be6011509a4243e8e0dc2 /drivers/interceptor/engine_alloc.h | |
parent | 0ddbcb39c0dc0318f68d858f25a96a074142af2f (diff) | |
download | kernel_samsung_smdk4412-c28265764ec6ad9995eb0c761a376ffc9f141fcd.zip kernel_samsung_smdk4412-c28265764ec6ad9995eb0c761a376ffc9f141fcd.tar.gz kernel_samsung_smdk4412-c28265764ec6ad9995eb0c761a376ffc9f141fcd.tar.bz2 |
applied patches from i9305 jb sources, updated mali to r3p0
Change-Id: Iec4bc4e2fb59e2cf5b4d25568a644d4e3719565e
Diffstat (limited to 'drivers/interceptor/engine_alloc.h')
-rw-r--r-- | drivers/interceptor/engine_alloc.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/interceptor/engine_alloc.h b/drivers/interceptor/engine_alloc.h new file mode 100644 index 0000000..f4a11c7 --- /dev/null +++ b/drivers/interceptor/engine_alloc.h @@ -0,0 +1,32 @@ +/* Netfilter Driver for IPSec VPN Client + * + * Copyright(c) 2012 Samsung Electronics + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/* + * engine_alloc.h + * + * Engine memory allocation API. + * + */ + +#ifndef ENGINE_ALLOC_H +#define ENGINE_ALLOC_H + +void *ssh_malloc(size_t size); +void *ssh_malloc_flags(size_t size, SshUInt32 flags); +void *ssh_realloc(void *ptr, size_t old_size, size_t new_size); +void *ssh_realloc_flags(void *ptr, size_t old_size, size_t new_size, + SshUInt32 flags); +void *ssh_calloc(size_t nitems, size_t size); +void *ssh_calloc_flags(size_t nitems, size_t size, SshUInt32 flags); +void *ssh_strdup(const void *p); +void *ssh_memdup(const void *p, size_t len); +void ssh_free(void *ptr); + +#endif /* ENGINE_ALLOC_H */ |