makestation.c File Reference

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

Go to the source code of this file.

Functions

si_stationMakeStation ()
 A function to malloc and initilize a si_control struct to zero.

Detailed Description

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

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 an init function for si_station

Definition in file makestation.c.


Function Documentation

si_station* MakeStation (  ) 

A function to malloc and initilize a si_control struct to zero.

Be careful you must call MakeStation() on station or you must properly free() it. This makes a control where 0 is set to the deult if all the params are null or zero. othere wise sets specific portion to the struct corialating to it's position

See also:
free()
Returns:
NULL if failure pointer to si_control struct if sucess
Todo:
add params

Definition at line 31 of file makestation.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