commit-hurd
[Top][All Lists]
Advanced

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

hurd/libchannel ChangeLog Makefile channel.c ch... [hammy-libchannel-bra


From: Carl Fredrik Hammar
Subject: hurd/libchannel ChangeLog Makefile channel.c ch... [hammy-libchannel-branch]
Date: Thu, 16 Aug 2007 12:08:53 +0000

CVSROOT:        /sources/hurd
Module name:    hurd
Branch:         hammy-libchannel-branch
Changes by:     Carl Fredrik Hammar <hammy>     07/08/16 12:08:53

Modified files:
        libchannel     : ChangeLog Makefile channel.c channel.h 
        libchannel/tests: test-1.c 
Added files:
        libchannel     : hub.c 

Log message:
        2007-08-16  Carl Fredrik Hammar  <address@hidden>
        
                * tests/test-1.c (triv_fifo_open): New function.
                (triv_fifo_cleanup): Rename to triv_fifo_close.
                (triv_fifo_create): Remove.
                (triv_fifo_create_hub) New function.
                (triv_fifo_read): Use class_hook instead of hook.
                (triv_fifo_write): Likewise.
                (main): Create triv_fifo hub.
                (main): Open triv_fifo channel.
                (main): Close triv_fifo channel.
                (triv_fifo_class): Set name.
                (triv_fifo_class): Set open and close methods.
        
                * Makefile (SRCS): Add hub.c
        
                * hub.c: New file.
        
                * channel.c (channel_create): Rename to channel_alloc.
                (channel_alloc): Remove class parameter.
                (channel_alloc): Add hub parameter.
                (channel_alloc): Use class_hook instead of hook.
                (channel_free): Don't call cleanup method.
                (channel_open): New function.
                (channel_close): New function.
                (channel_set_flags): Get class through hub.
                (channel_clear_flags): Likewise.
                (channel_read): Likewise.
                (channel_write): Likewise.
        
                * channel.h: Merge channel and channel_class page.
                : Merge channel function pages into single page.
                (struct channel): Remove field class.
                (struct channel): New field hub.
                (struct channel): Rename hook to class_hook.
                (struct channel_hub): New struct.
                (struct channel_class): Rename method cleanup to close.
                (struct channel_class): Fix close comment.
                (struct channel_class): New methods open, close, set_hub_flags,
                clear_hub_flags, clear_hub.
                (channel_create): Rename to channel_alloc.
                (channel_alloc): Remove class parameter.
                (channel_alloc): Add hub parameter.
                (channel_free): Fix comment.
                (channel_open, channel_close): New functions.
                (channel_alloc_hub, channel_free_hub): New functions.
                (channel_set_hub_flags, channel_clear_hub_flags): Likewise.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/ChangeLog?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/Makefile?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&r1=1.1.2.1&r2=1.1.2.2
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/channel.c?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/channel.h?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/hub.c?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/hurd/libchannel/tests/test-1.c?cvsroot=hurd&only_with_tag=hammy-libchannel-branch&r1=1.1.2.1&r2=1.1.2.2




reply via email to

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