diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-05-08 22:59:11 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-05-08 22:59:11 +0200 |
commit | d92111ff2c588e905630f61918c82f7da41e5777 (patch) | |
tree | 0bf4c10ef6d050ca2ef0f250796556c135a0fa89 /pfinet.old | |
parent | 0bbd7fe0f7db3d9d4633c581d3ed9d2e5e7dd136 (diff) |
Remove mig-generated files
Diffstat (limited to 'pfinet.old')
-rw-r--r-- | pfinet.old/iioctl_S.h | 400 | ||||
-rw-r--r-- | pfinet.old/io_S.h | 663 | ||||
-rw-r--r-- | pfinet.old/pfinet_S.h | 44 | ||||
-rw-r--r-- | pfinet.old/socket_S.h | 408 | ||||
-rw-r--r-- | pfinet.old/startup_notify_S.h | 38 |
5 files changed, 0 insertions, 1553 deletions
diff --git a/pfinet.old/iioctl_S.h b/pfinet.old/iioctl_S.h deleted file mode 100644 index c372f025..00000000 --- a/pfinet.old/iioctl_S.h +++ /dev/null @@ -1,400 +0,0 @@ -#ifndef _iioctl_server_ -#define _iioctl_server_ - -/* Module iioctl */ - -#include <mach/kern_return.h> -#include <mach/port.h> -#include <mach/message.h> - -#include <mach/std_types.h> -#include <mach/mach_types.h> -#include <device/device_types.h> -#include <device/net_status.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/statfs.h> -#include <sys/resource.h> -#include <sys/utsname.h> -#include <hurd/hurd_types.h> -#include <hurd/ioctl_types.h> - -/* Routine iioctl_siocsifaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, addr) - io_t reqport; - ifname_t ifnam; - sockaddr_t addr; -{ return S_iioctl_siocsifaddr(reqport, ifnam, addr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t addr -); -#endif - -/* Routine iioctl_siocsifdstaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifdstaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, dstaddr) - io_t reqport; - ifname_t ifnam; - sockaddr_t dstaddr; -{ return S_iioctl_siocsifdstaddr(reqport, ifnam, dstaddr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t dstaddr -); -#endif - -/* Routine iioctl_siocsifflags */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifflags -#if defined(LINTLIBRARY) - (reqport, ifnam, flags) - io_t reqport; - ifname_t ifnam; - short flags; -{ return S_iioctl_siocsifflags(reqport, ifnam, flags); } -#else -( - io_t reqport, - ifname_t ifnam, - short flags -); -#endif - -/* Routine iioctl_siocgifflags */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifflags -#if defined(LINTLIBRARY) - (reqport, ifnam, flags) - io_t reqport; - ifname_t ifnam; - short *flags; -{ return S_iioctl_siocgifflags(reqport, ifnam, flags); } -#else -( - io_t reqport, - ifname_t ifnam, - short *flags -); -#endif - -/* Routine iioctl_siocsifbrdaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifbrdaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, brdaddr) - io_t reqport; - ifname_t ifnam; - sockaddr_t brdaddr; -{ return S_iioctl_siocsifbrdaddr(reqport, ifnam, brdaddr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t brdaddr -); -#endif - -/* Routine iioctl_siocsifnetmask */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifnetmask -#if defined(LINTLIBRARY) - (reqport, ifnam, netmask) - io_t reqport; - ifname_t ifnam; - sockaddr_t netmask; -{ return S_iioctl_siocsifnetmask(reqport, ifnam, netmask); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t netmask -); -#endif - -/* Routine iioctl_siocgifmetric */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifmetric -#if defined(LINTLIBRARY) - (reqport, ifnam, metric) - io_t reqport; - ifname_t ifnam; - int *metric; -{ return S_iioctl_siocgifmetric(reqport, ifnam, metric); } -#else -( - io_t reqport, - ifname_t ifnam, - int *metric -); -#endif - -/* Routine iioctl_siocsifmetric */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifmetric -#if defined(LINTLIBRARY) - (reqport, ifnam, metric) - io_t reqport; - ifname_t ifnam; - int metric; -{ return S_iioctl_siocsifmetric(reqport, ifnam, metric); } -#else -( - io_t reqport, - ifname_t ifnam, - int metric -); -#endif - -/* Routine iioctl_siocdifaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocdifaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, addr) - io_t reqport; - ifname_t ifnam; - sockaddr_t addr; -{ return S_iioctl_siocdifaddr(reqport, ifnam, addr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t addr -); -#endif - -/* Routine iioctl_siocgifaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, addr) - io_t reqport; - ifname_t ifnam; - sockaddr_t *addr; -{ return S_iioctl_siocgifaddr(reqport, ifnam, addr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t *addr -); -#endif - -/* Routine iioctl_siocgifdstaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifdstaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, dstaddr) - io_t reqport; - ifname_t ifnam; - sockaddr_t *dstaddr; -{ return S_iioctl_siocgifdstaddr(reqport, ifnam, dstaddr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t *dstaddr -); -#endif - -/* Routine iioctl_siocgifbrdaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifbrdaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, brdaddr) - io_t reqport; - ifname_t ifnam; - sockaddr_t *brdaddr; -{ return S_iioctl_siocgifbrdaddr(reqport, ifnam, brdaddr); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t *brdaddr -); -#endif - -/* Routine iioctl_siocgifnetmask */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifnetmask -#if defined(LINTLIBRARY) - (reqport, ifnam, netmask) - io_t reqport; - ifname_t ifnam; - sockaddr_t *netmask; -{ return S_iioctl_siocgifnetmask(reqport, ifnam, netmask); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t *netmask -); -#endif - -/* Routine iioctl_siocgifhwaddr */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifhwaddr -#if defined(LINTLIBRARY) - (reqport, ifnam, netmask) - io_t reqport; - ifname_t ifnam; - sockaddr_t *netmask; -{ return S_iioctl_siocgifhwaddr(reqport, ifnam, netmask); } -#else -( - io_t reqport, - ifname_t ifnam, - sockaddr_t *netmask -); -#endif - -/* Routine iioctl_siocgifmtu */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifmtu -#if defined(LINTLIBRARY) - (reqport, ifnam, mtu) - io_t reqport; - ifname_t ifnam; - int *mtu; -{ return S_iioctl_siocgifmtu(reqport, ifnam, mtu); } -#else -( - io_t reqport, - ifname_t ifnam, - int *mtu -); -#endif - -/* Routine iioctl_siocsifmtu */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocsifmtu -#if defined(LINTLIBRARY) - (reqport, ifnam, mtu) - io_t reqport; - ifname_t ifnam; - int mtu; -{ return S_iioctl_siocsifmtu(reqport, ifnam, mtu); } -#else -( - io_t reqport, - ifname_t ifnam, - int mtu -); -#endif - -/* Routine iioctl_siocgifindex */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifindex -#if defined(LINTLIBRARY) - (reqport, ifnam, index) - io_t reqport; - ifname_t ifnam; - int *index; -{ return S_iioctl_siocgifindex(reqport, ifnam, index); } -#else -( - io_t reqport, - ifname_t ifnam, - int *index -); -#endif - -/* Routine iioctl_siocgifname */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_iioctl_siocgifname -#if defined(LINTLIBRARY) - (reqport, ifnam, index) - io_t reqport; - ifname_t ifnam; - int *index; -{ return S_iioctl_siocgifname(reqport, ifnam, index); } -#else -( - io_t reqport, - ifname_t ifnam, - int *index -); -#endif - -#endif /* not defined(_iioctl_server_) */ diff --git a/pfinet.old/io_S.h b/pfinet.old/io_S.h deleted file mode 100644 index 10a2557c..00000000 --- a/pfinet.old/io_S.h +++ /dev/null @@ -1,663 +0,0 @@ -#ifndef _io_server_ -#define _io_server_ - -/* Module io */ - -#include <mach/kern_return.h> -#include <mach/port.h> -#include <mach/message.h> - -#include <mach/std_types.h> -#include <mach/mach_types.h> -#include <device/device_types.h> -#include <device/net_status.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/statfs.h> -#include <sys/resource.h> -#include <sys/utsname.h> -#include <hurd/hurd_types.h> -#include "pfinet.h" - -/* Routine io_write */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_write -#if defined(LINTLIBRARY) - (io_object, data, dataCnt, offset, amount) - sock_user_t io_object; - data_t data; - mach_msg_type_number_t dataCnt; - loff_t offset; - vm_size_t *amount; -{ return S_io_write(io_object, data, dataCnt, offset, amount); } -#else -( - sock_user_t io_object, - data_t data, - mach_msg_type_number_t dataCnt, - loff_t offset, - vm_size_t *amount -); -#endif - -/* Routine io_read */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_read -#if defined(LINTLIBRARY) - (io_object, data, dataCnt, offset, amount) - sock_user_t io_object; - data_t *data; - mach_msg_type_number_t *dataCnt; - loff_t offset; - vm_size_t amount; -{ return S_io_read(io_object, data, dataCnt, offset, amount); } -#else -( - sock_user_t io_object, - data_t *data, - mach_msg_type_number_t *dataCnt, - loff_t offset, - vm_size_t amount -); -#endif - -/* Routine io_seek */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_seek -#if defined(LINTLIBRARY) - (io_object, offset, whence, newp) - sock_user_t io_object; - loff_t offset; - int whence; - loff_t *newp; -{ return S_io_seek(io_object, offset, whence, newp); } -#else -( - sock_user_t io_object, - loff_t offset, - int whence, - loff_t *newp -); -#endif - -/* Routine io_readable */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_readable -#if defined(LINTLIBRARY) - (io_object, amount) - sock_user_t io_object; - vm_size_t *amount; -{ return S_io_readable(io_object, amount); } -#else -( - sock_user_t io_object, - vm_size_t *amount -); -#endif - -/* Routine io_set_all_openmodes */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_set_all_openmodes -#if defined(LINTLIBRARY) - (io_object, newbits) - sock_user_t io_object; - int newbits; -{ return S_io_set_all_openmodes(io_object, newbits); } -#else -( - sock_user_t io_object, - int newbits -); -#endif - -/* Routine io_get_openmodes */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_get_openmodes -#if defined(LINTLIBRARY) - (io_object, bits) - sock_user_t io_object; - int *bits; -{ return S_io_get_openmodes(io_object, bits); } -#else -( - sock_user_t io_object, - int *bits -); -#endif - -/* Routine io_set_some_openmodes */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_set_some_openmodes -#if defined(LINTLIBRARY) - (io_object, bits_to_set) - sock_user_t io_object; - int bits_to_set; -{ return S_io_set_some_openmodes(io_object, bits_to_set); } -#else -( - sock_user_t io_object, - int bits_to_set -); -#endif - -/* Routine io_clear_some_openmodes */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_clear_some_openmodes -#if defined(LINTLIBRARY) - (io_object, bits_to_clear) - sock_user_t io_object; - int bits_to_clear; -{ return S_io_clear_some_openmodes(io_object, bits_to_clear); } -#else -( - sock_user_t io_object, - int bits_to_clear -); -#endif - -/* Routine io_async */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_async -#if defined(LINTLIBRARY) - (io_object, notify_port, async_id_port, async_id_portPoly) - sock_user_t io_object; - mach_port_t notify_port; - mach_port_t *async_id_port; - mach_msg_type_name_t *async_id_portPoly; -{ return S_io_async(io_object, notify_port, async_id_port, async_id_portPoly); } -#else -( - sock_user_t io_object, - mach_port_t notify_port, - mach_port_t *async_id_port, - mach_msg_type_name_t *async_id_portPoly -); -#endif - -/* Routine io_mod_owner */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_mod_owner -#if defined(LINTLIBRARY) - (io_object, owner) - sock_user_t io_object; - pid_t owner; -{ return S_io_mod_owner(io_object, owner); } -#else -( - sock_user_t io_object, - pid_t owner -); -#endif - -/* Routine io_get_owner */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_get_owner -#if defined(LINTLIBRARY) - (io_object, owner) - sock_user_t io_object; - pid_t *owner; -{ return S_io_get_owner(io_object, owner); } -#else -( - sock_user_t io_object, - pid_t *owner -); -#endif - -/* Routine io_get_icky_async_id */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_get_icky_async_id -#if defined(LINTLIBRARY) - (io_object, icky_async_id_port, icky_async_id_portPoly) - sock_user_t io_object; - mach_port_t *icky_async_id_port; - mach_msg_type_name_t *icky_async_id_portPoly; -{ return S_io_get_icky_async_id(io_object, icky_async_id_port, icky_async_id_portPoly); } -#else -( - sock_user_t io_object, - mach_port_t *icky_async_id_port, - mach_msg_type_name_t *icky_async_id_portPoly -); -#endif - -/* Routine io_select */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_select -#if defined(LINTLIBRARY) - (io_object, reply, replyPoly, select_type) - sock_user_t io_object; - mach_port_t reply; - mach_msg_type_name_t replyPoly; - int *select_type; -{ return S_io_select(io_object, reply, replyPoly, select_type); } -#else -( - sock_user_t io_object, - mach_port_t reply, - mach_msg_type_name_t replyPoly, - int *select_type -); -#endif - -/* Routine io_stat */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_stat -#if defined(LINTLIBRARY) - (stat_object, stat_info) - sock_user_t stat_object; - io_statbuf_t *stat_info; -{ return S_io_stat(stat_object, stat_info); } -#else -( - sock_user_t stat_object, - io_statbuf_t *stat_info -); -#endif - -/* SimpleRoutine io_reauthenticate */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_reauthenticate -#if defined(LINTLIBRARY) - (auth_object, rendezvous2) - sock_user_t auth_object; - mach_port_t rendezvous2; -{ return S_io_reauthenticate(auth_object, rendezvous2); } -#else -( - sock_user_t auth_object, - mach_port_t rendezvous2 -); -#endif - -/* Routine io_restrict_auth */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_restrict_auth -#if defined(LINTLIBRARY) - (io_object, new_object, new_objectPoly, uids, uidsCnt, gids, gidsCnt) - sock_user_t io_object; - mach_port_t *new_object; - mach_msg_type_name_t *new_objectPoly; - idarray_t uids; - mach_msg_type_number_t uidsCnt; - idarray_t gids; - mach_msg_type_number_t gidsCnt; -{ return S_io_restrict_auth(io_object, new_object, new_objectPoly, uids, uidsCnt, gids, gidsCnt); } -#else -( - sock_user_t io_object, - mach_port_t *new_object, - mach_msg_type_name_t *new_objectPoly, - idarray_t uids, - mach_msg_type_number_t uidsCnt, - idarray_t gids, - mach_msg_type_number_t gidsCnt -); -#endif - -/* Routine io_duplicate */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_duplicate -#if defined(LINTLIBRARY) - (io_object, newport, newportPoly) - sock_user_t io_object; - mach_port_t *newport; - mach_msg_type_name_t *newportPoly; -{ return S_io_duplicate(io_object, newport, newportPoly); } -#else -( - sock_user_t io_object, - mach_port_t *newport, - mach_msg_type_name_t *newportPoly -); -#endif - -/* Routine io_server_version */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_server_version -#if defined(LINTLIBRARY) - (vers_object, server_name, server_major_version, server_minor_version, server_edit_level) - sock_user_t vers_object; - string_t server_name; - int *server_major_version; - int *server_minor_version; - int *server_edit_level; -{ return S_io_server_version(vers_object, server_name, server_major_version, server_minor_version, server_edit_level); } -#else -( - sock_user_t vers_object, - string_t server_name, - int *server_major_version, - int *server_minor_version, - int *server_edit_level -); -#endif - -/* Routine io_map */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_map -#if defined(LINTLIBRARY) - (io_object, memobjrd, memobjrdPoly, memobjwt, memobjwtPoly) - sock_user_t io_object; - mach_port_t *memobjrd; - mach_msg_type_name_t *memobjrdPoly; - mach_port_t *memobjwt; - mach_msg_type_name_t *memobjwtPoly; -{ return S_io_map(io_object, memobjrd, memobjrdPoly, memobjwt, memobjwtPoly); } -#else -( - sock_user_t io_object, - mach_port_t *memobjrd, - mach_msg_type_name_t *memobjrdPoly, - mach_port_t *memobjwt, - mach_msg_type_name_t *memobjwtPoly -); -#endif - -/* Routine io_map_cntl */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_map_cntl -#if defined(LINTLIBRARY) - (io_object, memobj, memobjPoly) - sock_user_t io_object; - mach_port_t *memobj; - mach_msg_type_name_t *memobjPoly; -{ return S_io_map_cntl(io_object, memobj, memobjPoly); } -#else -( - sock_user_t io_object, - mach_port_t *memobj, - mach_msg_type_name_t *memobjPoly -); -#endif - -/* Routine io_get_conch */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_get_conch -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_get_conch(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_release_conch */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_release_conch -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_release_conch(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_eofnotify */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_eofnotify -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_eofnotify(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_prenotify */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_prenotify -#if defined(LINTLIBRARY) - (io_object, write_start, write_end) - sock_user_t io_object; - vm_offset_t write_start; - vm_offset_t write_end; -{ return S_io_prenotify(io_object, write_start, write_end); } -#else -( - sock_user_t io_object, - vm_offset_t write_start, - vm_offset_t write_end -); -#endif - -/* Routine io_postnotify */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_postnotify -#if defined(LINTLIBRARY) - (io_object, write_start, write_end) - sock_user_t io_object; - vm_offset_t write_start; - vm_offset_t write_end; -{ return S_io_postnotify(io_object, write_start, write_end); } -#else -( - sock_user_t io_object, - vm_offset_t write_start, - vm_offset_t write_end -); -#endif - -/* Routine io_readnotify */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_readnotify -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_readnotify(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_readsleep */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_readsleep -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_readsleep(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_sigio */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_sigio -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_sigio(io_object); } -#else -( - sock_user_t io_object -); -#endif - -/* Routine io_pathconf */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_pathconf -#if defined(LINTLIBRARY) - (io_object, name, value) - sock_user_t io_object; - int name; - int *value; -{ return S_io_pathconf(io_object, name, value); } -#else -( - sock_user_t io_object, - int name, - int *value -); -#endif - -/* Routine io_identity */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_identity -#if defined(LINTLIBRARY) - (io_object, idport, idportPoly, fsidport, fsidportPoly, fileno) - sock_user_t io_object; - mach_port_t *idport; - mach_msg_type_name_t *idportPoly; - mach_port_t *fsidport; - mach_msg_type_name_t *fsidportPoly; - ino64_t *fileno; -{ return S_io_identity(io_object, idport, idportPoly, fsidport, fsidportPoly, fileno); } -#else -( - sock_user_t io_object, - mach_port_t *idport, - mach_msg_type_name_t *idportPoly, - mach_port_t *fsidport, - mach_msg_type_name_t *fsidportPoly, - ino64_t *fileno -); -#endif - -/* Routine io_revoke */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_io_revoke -#if defined(LINTLIBRARY) - (io_object) - sock_user_t io_object; -{ return S_io_revoke(io_object); } -#else -( - sock_user_t io_object -); -#endif - -#endif /* not defined(_io_server_) */ diff --git a/pfinet.old/pfinet_S.h b/pfinet.old/pfinet_S.h deleted file mode 100644 index 983931f1..00000000 --- a/pfinet.old/pfinet_S.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef _pfinet_server_ -#define _pfinet_server_ - -/* Module pfinet */ - -#include <mach/kern_return.h> -#include <mach/port.h> -#include <mach/message.h> - -#include <mach/std_types.h> -#include <mach/mach_types.h> -#include <device/device_types.h> -#include <device/net_status.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/statfs.h> -#include <sys/resource.h> -#include <sys/utsname.h> -#include <hurd/hurd_types.h> - -/* Routine pfinet_siocgifconf */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_pfinet_siocgifconf -#if defined(LINTLIBRARY) - (port, amount, buf, bufCnt) - io_t port; - vm_size_t amount; - data_t *buf; - mach_msg_type_number_t *bufCnt; -{ return S_pfinet_siocgifconf(port, amount, buf, bufCnt); } -#else -( - io_t port, - vm_size_t amount, - data_t *buf, - mach_msg_type_number_t *bufCnt -); -#endif - -#endif /* not defined(_pfinet_server_) */ diff --git a/pfinet.old/socket_S.h b/pfinet.old/socket_S.h deleted file mode 100644 index b20bef01..00000000 --- a/pfinet.old/socket_S.h +++ /dev/null @@ -1,408 +0,0 @@ -#ifndef _socket_server_ -#define _socket_server_ - -/* Module socket */ - -#include <mach/kern_return.h> -#include <mach/port.h> -#include <mach/message.h> - -#include <mach/std_types.h> -#include <mach/mach_types.h> -#include <device/device_types.h> -#include <device/net_status.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/statfs.h> -#include <sys/resource.h> -#include <sys/utsname.h> -#include <hurd/hurd_types.h> -#include "pfinet.h" - -/* Routine socket_create */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_create -#if defined(LINTLIBRARY) - (server, sock_type, protocol, sock, sockPoly) - trivfs_protid_t server; - int sock_type; - int protocol; - mach_port_t *sock; - mach_msg_type_name_t *sockPoly; -{ return S_socket_create(server, sock_type, protocol, sock, sockPoly); } -#else -( - trivfs_protid_t server, - int sock_type, - int protocol, - mach_port_t *sock, - mach_msg_type_name_t *sockPoly -); -#endif - -/* Routine socket_listen */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_listen -#if defined(LINTLIBRARY) - (sock, queue_limit) - sock_user_t sock; - int queue_limit; -{ return S_socket_listen(sock, queue_limit); } -#else -( - sock_user_t sock, - int queue_limit -); -#endif - -/* Routine socket_accept */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_accept -#if defined(LINTLIBRARY) - (sock, conn_sock, conn_sockPoly, peer_addr, peer_addrPoly) - sock_user_t sock; - mach_port_t *conn_sock; - mach_msg_type_name_t *conn_sockPoly; - mach_port_t *peer_addr; - mach_msg_type_name_t *peer_addrPoly; -{ return S_socket_accept(sock, conn_sock, conn_sockPoly, peer_addr, peer_addrPoly); } -#else -( - sock_user_t sock, - mach_port_t *conn_sock, - mach_msg_type_name_t *conn_sockPoly, - mach_port_t *peer_addr, - mach_msg_type_name_t *peer_addrPoly -); -#endif - -/* Routine socket_connect */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_connect -#if defined(LINTLIBRARY) - (sock, addr) - sock_user_t sock; - sock_addr_t addr; -{ return S_socket_connect(sock, addr); } -#else -( - sock_user_t sock, - sock_addr_t addr -); -#endif - -/* Routine socket_bind */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_bind -#if defined(LINTLIBRARY) - (sock, addr) - sock_user_t sock; - sock_addr_t addr; -{ return S_socket_bind(sock, addr); } -#else -( - sock_user_t sock, - sock_addr_t addr -); -#endif - -/* Routine socket_name */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_name -#if defined(LINTLIBRARY) - (sock, addr, addrPoly) - sock_user_t sock; - mach_port_t *addr; - mach_msg_type_name_t *addrPoly; -{ return S_socket_name(sock, addr, addrPoly); } -#else -( - sock_user_t sock, - mach_port_t *addr, - mach_msg_type_name_t *addrPoly -); -#endif - -/* Routine socket_peername */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_peername -#if defined(LINTLIBRARY) - (sock, addr, addrPoly) - sock_user_t sock; - mach_port_t *addr; - mach_msg_type_name_t *addrPoly; -{ return S_socket_peername(sock, addr, addrPoly); } -#else -( - sock_user_t sock, - mach_port_t *addr, - mach_msg_type_name_t *addrPoly -); -#endif - -/* Routine socket_connect2 */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_connect2 -#if defined(LINTLIBRARY) - (sock1, sock2) - sock_user_t sock1; - sock_user_t sock2; -{ return S_socket_connect2(sock1, sock2); } -#else -( - sock_user_t sock1, - sock_user_t sock2 -); -#endif - -/* Routine socket_create_address */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_create_address -#if defined(LINTLIBRARY) - (server, sockaddr_type, sockaddr, sockaddrCnt, addr, addrPoly) - mach_port_t server; - int sockaddr_type; - data_t sockaddr; - mach_msg_type_number_t sockaddrCnt; - mach_port_t *addr; - mach_msg_type_name_t *addrPoly; -{ return S_socket_create_address(server, sockaddr_type, sockaddr, sockaddrCnt, addr, addrPoly); } -#else -( - mach_port_t server, - int sockaddr_type, - data_t sockaddr, - mach_msg_type_number_t sockaddrCnt, - mach_port_t *addr, - mach_msg_type_name_t *addrPoly -); -#endif - -/* Routine socket_fabricate_address */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_fabricate_address -#if defined(LINTLIBRARY) - (server, sockaddr_type, addr, addrPoly) - mach_port_t server; - int sockaddr_type; - mach_port_t *addr; - mach_msg_type_name_t *addrPoly; -{ return S_socket_fabricate_address(server, sockaddr_type, addr, addrPoly); } -#else -( - mach_port_t server, - int sockaddr_type, - mach_port_t *addr, - mach_msg_type_name_t *addrPoly -); -#endif - -/* Routine socket_whatis_address */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_whatis_address -#if defined(LINTLIBRARY) - (addr, sockaddr_type, sockaddr, sockaddrCnt) - sock_addr_t addr; - int *sockaddr_type; - data_t *sockaddr; - mach_msg_type_number_t *sockaddrCnt; -{ return S_socket_whatis_address(addr, sockaddr_type, sockaddr, sockaddrCnt); } -#else -( - sock_addr_t addr, - int *sockaddr_type, - data_t *sockaddr, - mach_msg_type_number_t *sockaddrCnt -); -#endif - -/* Routine socket_shutdown */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_shutdown -#if defined(LINTLIBRARY) - (sock, direction) - sock_user_t sock; - int direction; -{ return S_socket_shutdown(sock, direction); } -#else -( - sock_user_t sock, - int direction -); -#endif - -/* Routine socket_getopt */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_getopt -#if defined(LINTLIBRARY) - (sock, level, option, optval, optvalCnt) - sock_user_t sock; - int level; - int option; - data_t *optval; - mach_msg_type_number_t *optvalCnt; -{ return S_socket_getopt(sock, level, option, optval, optvalCnt); } -#else -( - sock_user_t sock, - int level, - int option, - data_t *optval, - mach_msg_type_number_t *optvalCnt -); -#endif - -/* Routine socket_setopt */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_setopt -#if defined(LINTLIBRARY) - (sock, level, option, optval, optvalCnt) - sock_user_t sock; - int level; - int option; - data_t optval; - mach_msg_type_number_t optvalCnt; -{ return S_socket_setopt(sock, level, option, optval, optvalCnt); } -#else -( - sock_user_t sock, - int level, - int option, - data_t optval, - mach_msg_type_number_t optvalCnt -); -#endif - -/* Routine socket_send */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_send -#if defined(LINTLIBRARY) - (sock, addr, flags, data, dataCnt, ports, portsCnt, control, controlCnt, amount) - sock_user_t sock; - sock_addr_t addr; - int flags; - data_t data; - mach_msg_type_number_t dataCnt; - portarray_t ports; - mach_msg_type_number_t portsCnt; - data_t control; - mach_msg_type_number_t controlCnt; - vm_size_t *amount; -{ return S_socket_send(sock, addr, flags, data, dataCnt, ports, portsCnt, control, controlCnt, amount); } -#else -( - sock_user_t sock, - sock_addr_t addr, - int flags, - data_t data, - mach_msg_type_number_t dataCnt, - portarray_t ports, - mach_msg_type_number_t portsCnt, - data_t control, - mach_msg_type_number_t controlCnt, - vm_size_t *amount -); -#endif - -/* Routine socket_recv */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_socket_recv -#if defined(LINTLIBRARY) - (sock, addr, addrPoly, flags, data, dataCnt, ports, portsPoly, portsCnt, control, controlCnt, outflags, amount) - sock_user_t sock; - mach_port_t *addr; - mach_msg_type_name_t *addrPoly; - int flags; - data_t *data; - mach_msg_type_number_t *dataCnt; - portarray_t *ports; - mach_msg_type_name_t *portsPoly; - mach_msg_type_number_t *portsCnt; - data_t *control; - mach_msg_type_number_t *controlCnt; - int *outflags; - vm_size_t amount; -{ return S_socket_recv(sock, addr, addrPoly, flags, data, dataCnt, ports, portsPoly, portsCnt, control, controlCnt, outflags, amount); } -#else -( - sock_user_t sock, - mach_port_t *addr, - mach_msg_type_name_t *addrPoly, - int flags, - data_t *data, - mach_msg_type_number_t *dataCnt, - portarray_t *ports, - mach_msg_type_name_t *portsPoly, - mach_msg_type_number_t *portsCnt, - data_t *control, - mach_msg_type_number_t *controlCnt, - int *outflags, - vm_size_t amount -); -#endif - -#endif /* not defined(_socket_server_) */ diff --git a/pfinet.old/startup_notify_S.h b/pfinet.old/startup_notify_S.h deleted file mode 100644 index ed1ddc3b..00000000 --- a/pfinet.old/startup_notify_S.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef _startup_notify_server_ -#define _startup_notify_server_ - -/* Module startup_notify */ - -#include <mach/kern_return.h> -#include <mach/port.h> -#include <mach/message.h> - -#include <mach/std_types.h> -#include <mach/mach_types.h> -#include <device/device_types.h> -#include <device/net_status.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/statfs.h> -#include <sys/resource.h> -#include <sys/utsname.h> -#include <hurd/hurd_types.h> - -/* Routine startup_dosync */ -#ifdef mig_external -mig_external -#else -extern -#endif -kern_return_t S_startup_dosync -#if defined(LINTLIBRARY) - (notify_port) - mach_port_t notify_port; -{ return S_startup_dosync(notify_port); } -#else -( - mach_port_t notify_port -); -#endif - -#endif /* not defined(_startup_notify_server_) */ |