diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-25 00:24:52 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-25 11:39:26 +0100 |
commit | e5583e10eed68f75e8981571d322b553b784dd5b (patch) | |
tree | ba034ea064a29f97a358228b5f52ee1d1e2ff2ec /pfinet/pfinet.h | |
parent | 86e3141aaf13b1bc55d74bd6f557a62b814e944c (diff) | |
download | hurd-e5583e10eed68f75e8981571d322b553b784dd5b.tar.gz hurd-e5583e10eed68f75e8981571d322b553b784dd5b.tar.bz2 hurd-e5583e10eed68f75e8981571d322b553b784dd5b.zip |
pfinet: improve the mig mutator functions
Previously, the mig mutator functions were in misc.c, preventing them
from being inlined into the mig-generated server functions. Put them
in mig-decls.h instead. Rename mutations.h to mig-mutate.h. This is
the naming convention used for pflocal.
* pfinet/mutations.h: Rename to mig-mutate.h, adopt imports.
* pfinet/Makefile: Adopt accordingly.
* pfinet/mig-decls.h: New file.
* pfinet/misc.c: Move mutator functions to mig-decls.h.
* pfinet/pfinet.h: Move type declarations to mig-decls.h, remove
mutator declarations.
* pfinet/iioctl-ops.c: Include mig-decls.h.
Diffstat (limited to 'pfinet/pfinet.h')
-rw-r--r-- | pfinet/pfinet.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pfinet/pfinet.h b/pfinet/pfinet.h index 9725dabc..46aa97bb 100644 --- a/pfinet/pfinet.h +++ b/pfinet/pfinet.h @@ -83,18 +83,9 @@ void ip_rt_del (u_long, struct device *); struct sock; error_t tcp_tiocinq (struct sock *sk, mach_msg_type_number_t *amount); - -struct sock_user *begin_using_socket_port (socket_t); -struct sock_addr *begin_using_sockaddr_port (socket_t); -void end_using_socket_port (struct sock_user *); -void end_using_sockaddr_port (struct sock_addr *); void clean_addrport (void *); void clean_socketport (void *); -/* MiG bogosity */ -typedef struct sock_user *sock_user_t; -typedef struct sock_addr *sock_addr_t; - /* pfinet6 port classes. */ enum { PORTCLASS_INET, |