Class Util.UtilJNI
java.lang.Object
org.fusesource.leveldbjni.internal.Util.UtilJNI
- Enclosing class:
Util
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static final intCreateHardLinkW(String target, String source, long lpSecurityAttributes) static final interrno()private static final voidinit()(package private) static final intstatic final longstrerror(int errnum) static final intstrlen(long s)
-
Field Details
-
ON_WINDOWS
@JniField(flags=CONSTANT, accessor="1", conditional="defined(_WIN32) || defined(_WIN64)") static int ON_WINDOWS
-
-
Constructor Details
-
UtilJNI
UtilJNI()
-
-
Method Details
-
init
@JniMethod(flags=CONSTANT_INITIALIZER) private static final void init() -
link
-
CreateHardLinkW
@JniMethod(conditional="defined(_WIN32) || defined(_WIN64)") static final int CreateHardLinkW(@JniArg(cast="LPCWSTR",flags={POINTER_ARG,UNICODE}) String target, @JniArg(cast="LPCWSTR",flags={POINTER_ARG,UNICODE}) String source, @JniArg(cast="LPSECURITY_ATTRIBUTES",flags=POINTER_ARG) long lpSecurityAttributes) -
errno
@JniMethod(flags=CONSTANT_GETTER) public static final int errno() -
strerror
@JniMethod(cast="char *") public static final long strerror(int errnum) -
strlen
public static final int strlen(@JniArg(cast="const char *") long s)
-