All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.unidbg.linux.signal.SigAction64 Maven / Gradle / Ivy

There is a newer version: 0.9.8
Show newest version
package com.github.unidbg.linux.signal;

import com.sun.jna.Pointer;

import java.util.Arrays;
import java.util.List;

public class SigAction64 extends SigAction {

    public SigAction64(Pointer p) {
        super(p);
    }

    public long sa_handler;
    public long sa_restorer;

    @Override
    public long getSaHandler() {
        return sa_handler;
    }

    @Override
    public void setSaHandler(long sa_handler) {
        this.sa_handler = sa_handler;
    }

    @Override
    public long getSaRestorer() {
        return sa_restorer;
    }

    @Override
    public void setSaRestorer(long sa_restorer) {
        this.sa_restorer = sa_restorer;
    }

    public long sa_mask;
    public int sa_flags;

    @Override
    public long getMask() {
        return sa_mask;
    }

    @Override
    public void setMask(long mask) {
        this.sa_mask = mask;
    }

    @Override
    public int getFlags() {
        return sa_flags;
    }

    @Override
    public void setFlags(int flags) {
        this.sa_flags = flags;
    }

    @Override
    protected List getFieldOrder() {
        return Arrays.asList("sa_handler", "sa_flags", "sa_mask", "sa_restorer");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy