diff options
| author | rimio <vasi.vilvoiu@gmail.com> | 2019-01-03 01:48:50 +0200 |
|---|---|---|
| committer | rimio <vasi.vilvoiu@gmail.com> | 2019-01-03 01:48:50 +0200 |
| commit | df66a60b90200b020c3e32a2a6302971b254bbd0 (patch) | |
| tree | 0903e8868ed15867e76c33ba99eba8096136f9cf /src/sstv.c | |
| parent | 85d1eac288e6f40e326b7d3b240588aac5f88e96 (diff) | |
Initial
Diffstat (limited to 'src/sstv.c')
| -rw-r--r-- | src/sstv.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/sstv.c b/src/sstv.c new file mode 100644 index 0000000..a29acd3 --- /dev/null +++ b/src/sstv.c @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2018 Vasile Vilvoiu (YO7JBP) <vasi.vilvoiu@gmail.com> + * + * libsstv is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + +#include "libsstv.h" + +sstv_malloc_t sstv_malloc_user = NULL; +sstv_free_t sstv_free_user = NULL; + +sstv_error_t +sstv_init(sstv_malloc_t alloc_func, sstv_free_t dealloc_func) +{ + /* Keep user functions for allocation/deallocation */ + sstv_malloc_user = alloc_func; + sstv_free_user = dealloc_func; + return SSTV_OK; +}
\ No newline at end of file |
