GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
dnsjit.core.loader(3) FreeBSD Library Functions Manual dnsjit.core.loader(3)

dnsjit.core.loader - Dynamic library loader


local loader = require("dnsjit.core.loader")
loader.load("example-input-zero/zero")

Module for loading dynamic libraries (.so) in more ways then LuaJIT can. This is mainly used in external modules.

Search package.cpath for the given name and load the first found. If global is true (default true if not given) then the loaded symbols will also be available globally. Returns the loaded C library as per ffi.load().
The ? in each path of package.cpath will be replace by the given name, so usually the ".so" part of the library does not need to be given. See package.cpath and package.loaders in Lua 5.1 for more information.

Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

Maintained by DNS-OARC

https://www.dns-oarc.net/

For issues and feature requests please use:

https://github.com/DNS-OARC/dnsjit/issues

For question and help please use:

admin@dns-oarc.net
1.4.0 dnsjit

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.