summaryrefslogtreecommitdiff
path: root/pflocal/pflocal.c
AgeCommit message (Collapse)Author
2015-09-27pflocal: convert to trivfs dynamic classes and bucketsJustus Winter
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.
2014-01-20pflocal: include the mig-generated server headersJustus Winter
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.
2013-12-02pflocal: improve the demuxer functionsJustus Winter
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-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* pflocal.c (main): Fix return type to int, and use return.
1997-08-20Wed Aug 20 14:06:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* pflocal.c (main): New args for ports_manage_port_operations_multithread. * sserver.c (handle_sock_requests): Likewise.
1996-01-27(trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader
(thread_cancel): Function deleted.
1996-01-19(usage, USAGE, options, debug_flag, debug_lock): Removed.Miles Bader
(main): Don't bother parsing options, since we don't have any.
1995-11-06(main): Add FLAGS arg to trivfs_startup call.Miles Bader
1995-08-24(trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader
1995-07-22entered into RCSMiles Bader
1995-07-22Formerly pflocal.c.~8~Miles Bader
1995-07-19Formerly pflocal.c.~7~Miles Bader
1995-07-18Formerly pflocal.c.~6~Miles Bader
1995-07-16Formerly pflocal.c.~5~Miles Bader
1995-07-16Formerly pflocal.c.~4~Miles Bader
1995-07-01Formerly pflocal.c.~3~Miles Bader
1995-07-01Formerly pflocal.c.~2~Miles Bader
1995-07-01Initial revisionMiles Bader