/* AUTOMATICALLY GENERATED BY tspec 2.10 API SUBSET: svid3:sys/swap.h (VERSION 2.6) */ #ifndef __TDF_SVID3_SYS_SWAP_H #define __TDF_SVID3_SYS_SWAP_H #ifdef __cplusplus extern "C" { #endif #pragma TenDRA declaration block api__svid3__sys_swap begin #ifndef __TDF_SVID3__CONFIG #pragma extend interface "../../shared/svid3.api/config.h" #endif /* __TDF_SVID3__CONFIG */ #if __SYSV_REAL_TIME #ifndef __TDF_SVID3_SYS_TYPES_H #pragma extend interface "../../svid3.api/sys/types.h" #endif /* __TDF_SVID3_SYS_TYPES_H */ #pragma token EXP const : int : SC_ADD # svid3.swap.SC_ADD #pragma token EXP const : int : SC_LIST # svid3.swap.SC_LIST #pragma token EXP const : int : SC_REMOVE # svid3.swap.SC_REMOVE #pragma token EXP const : int : SC_GETNSWP # svid3.swap.SC_GETNSWP #pragma token STRUCT TAG swapres # svid3.swap.swapres #pragma token MEMBER char * : struct swapres : sr_name # svid3.swap.swapres.sr_name #pragma token MEMBER off_t : struct swapres : sr_start # svid3.swap.swapres.sr_start #pragma token MEMBER off_t : struct swapres : sr_length # svid3.swap.swapres.sr_length #pragma token STRUCT TAG swapent # svid3.swap.swapent #pragma token MEMBER char * : struct swapent : ste_path # svid3.swap.swapent.ste_path #pragma token MEMBER off_t : struct swapent : ste_start # svid3.swap.swapent.ste_start #pragma token MEMBER off_t : struct swapent : ste_length # svid3.swap.swapent.ste_length #pragma token MEMBER long : struct swapent : ste_pages # svid3.swap.swapent.ste_pages #pragma token MEMBER long : struct swapent : ste_free # svid3.swap.swapent.ste_free #pragma token MEMBER long : struct swapent : ste_flags # svid3.swap.swapent.ste_flags /* Is this right? */ #pragma token STRUCT TAG swaptable # svid3.swap.swaptable #pragma token MEMBER int : struct swaptable : swt_n # svid3.swap.swaptable.swt_n #pragma token MEMBER struct swapent [1] : struct swaptable : swt_ent # svid3.swap.swaptable.swt_ent #pragma token FUNC int (int, void *) : swapctl # svid3.swap.swapctl #endif /* __SYSV_REAL_TIME */ #if __SYSV_REAL_TIME #pragma interface SC_ADD SC_LIST SC_REMOVE SC_GETNSWP TAG swapres #pragma interface TAG swapres.sr_name TAG swapres.sr_start #pragma interface TAG swapres.sr_length TAG swapent TAG swapent.ste_path #pragma interface TAG swapent.ste_start TAG swapent.ste_length #pragma interface TAG swapent.ste_pages TAG swapent.ste_free #pragma interface TAG swapent.ste_flags TAG swaptable TAG swaptable.swt_n #pragma interface TAG swaptable.swt_ent swapctl #endif /* __SYSV_REAL_TIME */ #pragma TenDRA declaration block end #ifdef __cplusplus } #endif #endif /* __TDF_SVID3_SYS_SWAP_H */