commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inetutils/inetd ChangeLog inetd.8 inetd.c


From: Alain Magloire
Subject: inetutils/inetd ChangeLog inetd.8 inetd.c
Date: Sun, 26 Aug 2001 13:51:43 -0700

CVSROOT:        /home/cvs
Module name:    inetutils
Changes by:     Alain Magloire <address@hidden> 01/08/26 13:51:43

Modified files:
        inetd          : ChangeLog inetd.8 inetd.c 

Log message:
        The idea is to provide an easy way to add services without
        mocking around with inetd.conf.  It is possible to just
        drop a file in PATH_INETDDIR, and the file will be pick
        and merge like if it was configuration file.  For example,
        
        /etc/inetd.d/telnet
        /etc/inetd.d/ftp
        /etc/inetd.d/login
        /etc/inetd.d/shell
        
        will contain the entries to start telnet/ftp/rlogin/shell
        without having to put them in /etc/inetd.conf.
        The idea was submitted by Jakob.
        
        The code had a face lift to comply with GNU coding style.
        
        * inetd.c: prototypes changes:
        void  endconfig __P((FILE *));
        struct servtab *getconfigent __P((FILE *, const char *));
        char  *newstr __P((const char *));
        void  nextconfig __P((const char *));
        void print_service __P((const char *, const char *, struct servtab *));
        FILE           *setconfig __P((const char *));
        char          *sskip __P((char **, FILE *, const char *));
        char          *skip __P((char **, FILE *));
        (usage): Updated.
        (main): Localised the variables.
        Read the line configuration files in to an array.
        (config):  Go through the configuration files arrays and
        call nextconfig on each file for parsing.
        (nextconfig): Parse the configuration file and construct
        an service entry.
        
        * inetd.8: Update to document the new PATH_INETDDIR feature.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetd/ChangeLog.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetd/inetd.8.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetd/inetd.c.diff?cvsroot=OldCVS&tr1=1.21&tr2=1.22&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]