JNA functions added