monit-dev
[Top][All Lists]
Advanced

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

monit monitor.h net.c status.c socket.c socket.h


From: Jan-Henrik Haukeland
Subject: monit monitor.h net.c status.c socket.c socket.h
Date: Mon, 16 Jun 2003 22:04:57 -0400

CVSROOT:        /cvsroot/monit
Module name:    monit
Branch:         
Changes by:     Jan-Henrik Haukeland <address@hidden>   03/06/16 22:04:57

Modified files:
        .              : monitor.h net.c status.c 
Added files:
        .              : socket.c socket.h 

Log message:
        Introducing a socket class as a facade for the current socket code. The
        main purpose of this class is to make ssl or non-ssl sockets transparent
        to the monit code and thus avoid the monit code to be peppered with
        ugly code constructs like:
        
        if(ssl)
        do ssl socket stuff
        else
        do normal socket stuff
        
        Example: Look at the status.c diff to see how the socket class simplfy
        things.
        
        Ps. I have just changed the status.c file for now to use the new class

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/socket.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/socket.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/monitor.h.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/net.c.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/status.c.diff?tr1=1.27&tr2=1.28&r1=text&r2=text





reply via email to

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