Skip to content

Commit

Permalink
And yet more
Browse files Browse the repository at this point in the history
  • Loading branch information
arjantijms committed Mar 31, 2022
1 parent a32971c commit 0db3a45
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author Kohsuke Kawaguchi
*/
public interface PAMLibrary extends Library {

final int PAM_USER = 2;

// error code
Expand All @@ -50,8 +50,8 @@ public interface PAMLibrary extends Library {
final int PAM_TEXT_INFO = 4; /* Textual information */

public static final PAMLibrary libpam = Native.loadLibrary("pam", PAMLibrary.class);


class pam_handle_t extends PointerType {
public pam_handle_t() {
}
Expand Down Expand Up @@ -88,9 +88,9 @@ public void setMsgStyle(int msg_style) {
}

class pam_response extends Structure {

public static final int SIZE = new pam_response().size();

/**
* This is really a string, but this field needs to be malloc-ed by the conversation method, and to be freed by the
* caler, so I bind it to {@link Pointer} here.
Expand Down Expand Up @@ -179,5 +179,5 @@ protected PamCallback getConv() {

String pam_strerror(pam_handle_t handle, int pam_error);


}

0 comments on commit 0db3a45

Please sign in to comment.