]> git.rkrishnan.org Git - pihpsdr.git/commit
call rust ffi function for discovery from C
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 7 Dec 2024 16:58:09 +0000 (22:28 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 7 Dec 2024 16:58:09 +0000 (22:28 +0530)
commit56fd3452da7838efb6efee8e06b1903bea1624dc
treec3458bbf9e4d6447c367c937c2568b554ddc01ff
parentd60e074d921aff49026a79667c1730af3e1d418d
call rust ffi function for discovery from C

Fixes a bunch of types. Also, we don't use the generated header
anymore. Instead use the one used by the rest of the
code (DISCOVERED) which matches the type we defined earlier. Still
helpful to generate the header and verify that it is indeed the one we
are expecting.
discovered.h
discovery.c
rust/discovery/src/discovery.rs
rust/discovery/src/ffi.rs
rust/discovery/src/types.rs