@@@ much mess, mostly manpages
[mLib] / sel / selpk.3.in
similarity index 64%
rename from sel/selpk.3
rename to sel/selpk.3.in
index e945c82..359cae8 100644 (file)
@@ -1,12 +1,44 @@
 .\" -*-nroff-*-
-.TH selpk 3 "23 May 1999" "Straylight/Edgeware" "mLib utilities library"
-.SH NAME
-selpk \- packet-buffering input selector
+.\"
+.\" Manual for event-driven packet splitting
+.\"
+.\" (c) 2000--2003, 2005, 2009, 2023, 2024 Straylight/Edgeware
+.\"
+.
+.\"----- Licensing notice ---------------------------------------------------
+.\"
+.\" This file is part of the mLib utilities library.
+.\"
+.\" mLib is free software: you can redistribute it and/or modify it under
+.\" the terms of the GNU Library General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or (at
+.\" your option) any later version.
+.\"
+.\" mLib is distributed in the hope that it will be useful, but WITHOUT
+.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
+.\" License for more details.
+.\"
+.\" You should have received a copy of the GNU Library General Public
+.\" License along with mLib.  If not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+.\" USA.
+.
+.\"--------------------------------------------------------------------------
+.so ../defs.man \" @@@PRE@@@
+.
+.\"--------------------------------------------------------------------------
+.TH selpk 3mLib "23 May 1999" "Straylight/Edgeware" "mLib utilities library"
 .\" @selpk_enable
 .\" @selpk_disable
 .\" @selpk_want
 .\" @selpk_init
 .\" @selpk_destroy
+.
+.\"--------------------------------------------------------------------------
+.SH NAME
+selpk \- packet-buffering input selector
+.
 .SH SYNOPSIS
 .nf
 .B "#include <mLib/selpk.h>"
@@ -21,7 +53,10 @@ selpk \- packet-buffering input selector
 .BI "  pkbuf_func *" func ", void *" p );
 .BI "void selpk_destroy(selpk *" b );
 .fi
+.
+.\"--------------------------------------------------------------------------
 .SH DESCRIPTION
+.
 The
 .B selpk
 subsystem is a selector which integrates with the
@@ -100,10 +135,18 @@ for more details about how packet buffering works.
 .PP
 When it's finished with, a packet selector must be destroyed by calling
 .BR selpk_destroy .
+.
+.\"--------------------------------------------------------------------------
 .SH "SEE ALSO"
+.
 .BR pkbuf (3),
 .BR sel (3),
 .BR selbuf (3),
 .BR mLib (3).
+.
+.\"--------------------------------------------------------------------------
 .SH AUTHOR
+.
 Mark Wooding, <mdw@distorted.org.uk>
+.
+.\"----- That's all, folks --------------------------------------------------