closestation.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "sportident.h"

Go to the source code of this file.

Functions

int CloseStation (si_station *station)
 A function to close the connection to the station.

Detailed Description

Author:
Dylan (smellyfis) Thies <dylan.thies@lostorienteerer.net>
Version:
0.0.1

LICENSE

This Program/Library is open source software; you may redistribute and/or modify it as long as the resulting program/library is under a FOSS license or with the approval of the authors or owning group

This Program is distributed in hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

DESCRIPTION

This is a file is the implementtion of a CloseStation().

Definition in file closestation.c.


Function Documentation

int CloseStation ( si_station station  ) 

A function to close the connection to the station.

this just resets the fd to zero and closes the connection to the station. so make sure that you free the station accordingly.

Parameters:
station the staion to close
Returns:
0 or higher on success and -1 on error
See also:
free(), OpenStation()

Definition at line 33 of file closestation.c.

All Data Structures Files Functions Variables Enumerations Defines
Generated on Sat May 22 20:28:32 2010 for LibSportIdent by  doxygen 1.6.3