package com.nativelibs4java.pthread;
import org.bridj.BridJ;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Array;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : /usr/include/sched.h:7</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("pthread") 
public class sched_param extends StructObject {
	static {
		BridJ.register();
	}
	@Field(0) 
	public int sched_priority() {
		return this.io.getIntField(this, 0);
	}
	@Field(0) 
	public sched_param sched_priority(int sched_priority) {
		this.io.setIntField(this, 0, sched_priority);
		return this;
	}
	/** C type : char[4] */
	@Array({4}) 
	@Field(1) 
	public Pointer<Byte > __opaque() {
		return this.io.getPointerField(this, 1);
	}
	public sched_param() {
		super();
	}
	public sched_param(Pointer pointer) {
		super(pointer);
	}
}
