diff options
Diffstat (limited to 'librecrypt_context_set_user_data.c')
| -rw-r--r-- | librecrypt_context_set_user_data.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/librecrypt_context_set_user_data.c b/librecrypt_context_set_user_data.c new file mode 100644 index 0000000..f1be75f --- /dev/null +++ b/librecrypt_context_set_user_data.c @@ -0,0 +1,29 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + + +void +librecrypt_context_set_user_data(LIBRECRYPT_CONTEXT *ctx, void *user) +{ + ctx->user_data = user; +} + + +#else + + +int +main(void) +{ + SET_UP_ALARM(); + INIT_RESOURCE_TEST(); + + /* TODO test */ + + STOP_RESOURCE_TEST(); + return 0; +} + + +#endif |
