org.rococoa.cocoa.osservices
Class strioctl

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.osservices.strioctl
Direct Known Subclasses:
strioctl.ByReference, strioctl.ByValue

public class strioctl
extends com.ochafik.lang.jnaerator.runtime.Structure

structure of ioctl data on I_STR
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class strioctl.ByReference
           
static class strioctl.ByValue
           
 
Field Summary
 int ic_cmd
           
 ByteByReference ic_dp
           
 int ic_len
           
 int ic_timout
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
strioctl()
           
strioctl(int ic_cmd, int ic_timout, int ic_len, ByteByReference ic_dp)
           
 
Method Summary
 strioctl.ByReference byReference()
           
 strioctl.ByValue byValue()
           
 strioctl clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ic_cmd

public int ic_cmd

ic_timout

public int ic_timout

ic_len

public int ic_len

ic_dp

public ByteByReference ic_dp
Constructor Detail

strioctl

public strioctl()

strioctl

public strioctl(int ic_cmd,
                int ic_timout,
                int ic_len,
                ByteByReference ic_dp)
Parameters:
ic_cmd - downstream command
ic_timout - ACK/NAK timeout
ic_len - length of data arg
ic_dp - ptr to data arg
Method Detail

byReference

public strioctl.ByReference byReference()

byValue

public strioctl.ByValue byValue()

clone

public strioctl clone()
Overrides:
clone in class Object