* PROTOCOL: Removed unused servername
authorRichard Worth <richard@theworths.org>
Wed, 23 Nov 2005 22:11:28 +0000 (22:11 +0000)
committerRichard Worth <richard@theworths.org>
Wed, 23 Nov 2005 22:11:28 +0000 (22:11 +0000)
commit84db9bf52aa25c19f7d547ea2dbec69ca4452300
tree2fda939bd1f9d430bf51ce4005208ef4c736eecc
parentc6398c6a1b59f6eddefc9f9ce577017b15677251
    * PROTOCOL: Removed unused servername

        * src/ttt-client.h: * src/ttt-client.c:
        (_ttt_client_execute_helo), (_ttt_client_init),
        (_ttt_client_fini), (_execute_request), (ttt_client_get_name),
        (ttt_client_set_name): Added command descriptions structure. Match
        command case-insensitively, dispatch to execute
        function. Implement HELO command. Register on HELO instead of on
        connect.

        * src/ttt-server.h: * src/ttt-server.c: (ttt_server_init),
        (ttt_server_register_client), (ttt_server_unregister_client),
        (ttt_server_get_host), (ttt_server_get_port), (main): Added host
        and port to server. Make client registration name-based rather
        than id-based.

        * src/x.c: (xstrdup): Return NULL on NULL

        * src/ttt-lex.h: Regenerated
src/ttt-client.c
src/ttt-client.h
src/ttt-lex.h
src/ttt-server.c
src/ttt-server.h
src/x.c