krw
31239d2ae1
Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone might
use it in a vararg function call that needs the type info.
Pointed out by otto@.
20 years ago
krw
1a5cb9c63f
Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointed
out by mickey@, seconded by millert@.
ok deraadt@.
20 years ago
espie
2ccf9e8a28
Remove unnecessary typedef usage.
u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int
okay millert@
21 years ago
millert
d3c7d64dca
Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)
in the libc rpc code. The main difference between this and the previous
version is the use of a simple free list that simplifies the logic when
adding a socket to svc_pollfd. I've also added code to pack svc_pollfd
when the free list gets too big. The idea general idea is to keep
svc_pollfd as tightly packed as possible to make poll(2) efficient.
Tested by many people and OK deraadt@
21 years ago
margarida
51fddb1663
realated -> related
22 years ago
margarida
65c2e4ecde
unkown -> unknown
ok millert@
22 years ago
david
3b3ad3ba2a
fix spelling in comment
ok millert@
22 years ago
millert
bae6371d6e
Make x_handy in XDR u_int, not int since there are places in the
code that assign a u_int value to x_handy. However, this means
that we need to be careful checking for overflow as we can no longer
subtract a value and check the result for < 0. We reorder the
expression instead to avoid this problem (basic algebra).
deraadt@ OK
22 years ago
millert
959b08f109
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
23 years ago
millert
b68c09e067
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
23 years ago
deraadt
c10303c907
prototype cleanup
23 years ago
deraadt
b4066cb690
plug many memory leaks
24 years ago
deraadt
6e360f7064
proto _rpc_dtablesize()
24 years ago
deraadt
1b49ff3dbc
proto svc_getreqset2
24 years ago
millert
d94c9d8323
pull in rpc/pmap_clnt.h to silence gcc and prototype xdr_opaque_auth for the same reason
26 years ago
deraadt
ac6a8b1e68
change pmap_set() protocol to u_int, similar to solaris; ref: casper
26 years ago
millert
933dad6187
Some -Wall
27 years ago
deraadt
7b93eaaf8c
pretty some types, real minor
27 years ago
niklas
2a0bf72166
Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now. Added openBSD tags.
27 years ago
deraadt
88b0e54c1b
proto more
27 years ago
millert
2f68d51273
Move prototype for bindresvport(3) to <netiniet/in.h> as it is
not rpc-specific and other stuff uses it now.
27 years ago
provos
2dc9544348
relocated header files
27 years ago
deraadt
ebe41c8218
proto get_myaddress()
28 years ago
deraadt
c7ab7270cf
proto bindresvport() here
28 years ago
deraadt
95b54cdd0d
(*cl_control)() takes a void * for last param
28 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago