From 4853dbf7e1e3d69064f6af735acc802b5971b5f5 Mon Sep 17 00:00:00 2001 From: sc Date: Tue, 26 Jan 1999 08:53:24 +0000 Subject: A bit of clean up in headers Changes in IvyStart and IvyInit: - expanded parsing of IvyStart argument to bus addresses like 123.123,123.122:2019 - socket for receiving broadcast handshakes is now in IvyStart (we thus lose the ability to have "passive" agents (agents that listen but don't say hello)) --- src/Makefile | 13 +++++++------ src/ivyloop.c | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 3b49ad7..b10514f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,20 +1,21 @@ # # Ivy, C interface # -# Copyright (C) 1997-1999 -# Centre d'Études de la Navigation Aérienne +# Copyright (C) 1997-1999 +# Centre d'Études de la Navigation Aérienne # # Makefile # -# Authors: François-Régis Colin -# Stéphane Chatty +# Authors: François-Régis Colin +# Stéphane Chatty # # $Id$ # -# Please refer to file version.h for the -# copyright notice regarding this software +# Please refer to file version.h for the +# copyright notice regarding this software # # + XTINC = /usr/X11R6/include XTLIB = /usr/X11R6/lib CC=gcc diff --git a/src/ivyloop.c b/src/ivyloop.c index df2c093..f743d1d 100644 --- a/src/ivyloop.c +++ b/src/ivyloop.c @@ -1,20 +1,20 @@ /* * Ivy, C interface * - * Copyright (C) 1997-1999 - * Centre d'Études de la Navigation Aérienne + * Copyright (C) 1997-1999 + * Centre d'Études de la Navigation Aérienne * - * Main loop handling around select + * Main loop based on select * - * Authors: François-Régis Colin + * Authors: François-Régis Colin * Stéphane Chatty * * $Id$ * - * Please refer to file version.h for the - * copyright notice regarding this software - * + * Please refer to file version.h for the + * copyright notice regarding this software */ + #ifdef WIN32 #include #endif @@ -158,9 +158,9 @@ void IvyChannelInit(void) #ifdef WIN32 error = WSAStartup( 0x0101, &WsaData ); - if ( error == SOCKET_ERROR ) { - printf( "WSAStartup failed.\n" ); - } + if ( error == SOCKET_ERROR ) { + printf( "WSAStartup failed.\n" ); + } #endif channel_initialized = 1; } -- cgit v1.1