Module c_api

Module c_api 

Source
Expand description

In order to use the C_API, the scramrs.h file should be included in the C-file.

A static library should be attached and compiled for example: gcc test1.c ../../target/debug/libscram_rs.a -o test1

Follow guides for each data types and methods in the comments in the h-file. There are notices which return types should be deallocated using which functions.

Do not attempt to free memeory using malloc.h free().

Enums§

CApiScramHasherProvider
CApiScramRes
CApiScramTypeAlias

Functions§

into_boxed_ptr