|
|
@ -98,9 +98,9 @@ public class SimpleSSHDService extends Service {
|
|
|
|
} catch (Exception e) { /* *shrug* */ }
|
|
|
|
} catch (Exception e) { /* *shrug* */ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private native void start_sshd(int port, String path,
|
|
|
|
private static native void start_sshd(int port, String path,
|
|
|
|
String shell, String home, String extra);
|
|
|
|
String shell, String home, String extra);
|
|
|
|
private native void stop_sshd();
|
|
|
|
private static native void stop_sshd();
|
|
|
|
private static native int waitpid(int pid);
|
|
|
|
private static native int waitpid(int pid);
|
|
|
|
static {
|
|
|
|
static {
|
|
|
|
System.loadLibrary("simplesshd-jni");
|
|
|
|
System.loadLibrary("simplesshd-jni");
|
|
|
|