src/terminal-chess.h

changeset 5
f7dfef88947d
parent 2
0a08f79c320d
child 7
41468077b5bb
     1.1 --- a/src/terminal-chess.h	Mon Mar 17 14:35:53 2014 +0100
     1.2 +++ b/src/terminal-chess.h	Mon Mar 17 15:39:36 2014 +0100
     1.3 @@ -54,11 +54,15 @@
     1.4      Gameinfo gameinfo;
     1.5      char* port;
     1.6      char* serverhost; /* NULL, if we are about to start a server */
     1.7 -    Server *server;
     1.8  } Settings;
     1.9  
    1.10  #define is_server(settings) !((settings)->serverhost)
    1.11  
    1.12 +void dump_gameinfo(Gameinfo *gameinfo);
    1.13 +
    1.14 +int server_run(Settings* settings);
    1.15 +int client_run(Settings* settings);
    1.16 +
    1.17  #ifdef	__cplusplus
    1.18  }
    1.19  #endif

mercurial