aboutsummaryrefslogtreecommitdiff
path: root/pflocal/pflocal.c
Commit message (Collapse)AuthorAgeFilesLines
* pflocal: convert to trivfs dynamic classes and bucketsJustus Winter2015-09-271-16/+4
| | | | | | | | | | | | | | | | | libtrivfs contains two ways of managing more than one port class and bucket. There is the old way of using a statically allocated array with explicit length, and the new way with dynamically allocated vectors. Converting all users to the new way of handling multiple classes and/or buckets, we can simplify the code in libtrivfs. In many cases, the code will be simpler and more expressive for the user. This also fixes a mild bug. The classes and buckets given to `trivfs_startup' end up in the dynamic vectors too, making the object lookup code use the more complicated code path. * pflocal/pflocal.c: Convert to dynamic classes and buckets.
* pflocal: include the mig-generated server headersJustus Winter2014-01-201-2/+1
| | | | | | | | | | GNU MIG recently gained support for emitting x_server_routine declarations in the generated server header file. Using this declaration, the x_server_routine functions can be inlined into the demuxer function. * pflocal/demuxer.c: Include the mig-generated server headers. * pflocal/sserver.c: Likewise.
* pflocal: improve the demuxer functionsJustus Winter2013-12-021-2/+12
| | | | | | | | | | | Handle multiple request types as recommended by the Mach Server Writer's Guide section 4, subsection "Handling Multiple Request Types". This avoids initializing the reply message in every X_server function. The reply message has already been properly initialized in libports, so there is no need to call mig_reply_setup. * pflocal/pflocal.c (pf_demuxer): Improve the demuxer function. * pflocal/sserver.c (sock_demuxer): Likewise.
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-4/+6
| | | | * pflocal.c (main): Fix return type to int, and use return.
* Wed Aug 20 14:06:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-2/+2
| | | | | | * pflocal.c (main): New args for ports_manage_port_operations_multithread. * sserver.c (handle_sock_requests): Likewise.
* (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader1996-01-271-16/+12
| | | | (thread_cancel): Function deleted.
* (usage, USAGE, options, debug_flag, debug_lock): Removed.Miles Bader1996-01-191-42/+3
| | | | (main): Don't bother parsing options, since we don't have any.
* (main): Add FLAGS arg to trivfs_startup call.Miles Bader1995-11-061-4/+4
|
* (trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader1995-08-241-4/+2
|
* entered into RCSMiles Bader1995-07-221-3/+1
|
* Formerly pflocal.c.~8~Miles Bader1995-07-221-5/+14
|
* Formerly pflocal.c.~7~Miles Bader1995-07-191-11/+23
|
* Formerly pflocal.c.~6~Miles Bader1995-07-181-0/+8
|
* Formerly pflocal.c.~5~Miles Bader1995-07-161-5/+6
|
* Formerly pflocal.c.~4~Miles Bader1995-07-161-0/+114
|
* Formerly pflocal.c.~3~Miles Bader1995-07-011-456/+4
|
* Formerly pflocal.c.~2~Miles Bader1995-07-011-12/+471
|
* Initial revisionMiles Bader1995-07-011-0/+24