• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Linux lua beginner: how to use shared library ? (1 Viewer)

vanessa

Newcomer
Joined
Feb 1, 2022
Messages
1
Reaction score
0
how to call functions from a libnftables library. In a c program this very siple. Available function prototypes, arguments there are simple, integers, null terminated strings and pointers to several structures.
the documentation is here libnftables(3) — libnftables1 — Debian testing — Debian Manpages
please help to call for one function, for sample first:
Code:
struct nft_ctx *nft_ctx_new(uint32_t flags);
anothers i am self.
thanks
 
Top