com.nh.php.curl.curl_slist Maven / Gradle / Ivy
The newest version!
package com.nh.php.curl;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
public class curl_slist extends Structure {
// / C type : char*
public Pointer data;
// / C type : curl_slist*
public ByReference next;
public curl_slist() {
super();
}
protected List getFieldOrder() {
return Arrays.asList("data", "next");
}
public curl_slist(Pointer data, ByReference next) {
super();
this.data = data;
this.next = next;
}
public static class ByReference extends curl_slist implements
Structure.ByReference {
};
public static class ByValue extends curl_slist implements Structure.ByValue {
};
}