detlin_cfg.c

00001 /*---------------------------------------------------------------------------
00002    
00003    File name    :   detlin_cfg.c
00004    Autor    :       Juergen Schreiber
00005    Created on   :   April 2002
00006    Description  :   handles the data structure detlin_config
00007 
00008  *--------------------------------------------------------------------------*/
00009 
00010 /*---------------------------------------------------------------------------
00011                                 Includes
00012  ---------------------------------------------------------------------------*/
00013 
00014 #include "detlin_cfg.h"
00015 
00016 /*---------------------------------------------------------------------------
00017                             Function codes
00018  ---------------------------------------------------------------------------*/
00019 
00020 /*---------------------------------------------------------------------------
00021    Function :   detlin_cfg_create()
00022    In       :   void
00023    Out      :   pointer to allocated base detlin_config structure
00024    Job      :   allocate memory for a detlin_config struct
00025    Notice   :   only the main (base) structure is allocated
00026  ---------------------------------------------------------------------------*/
00027 
00028 detlin_config * detlin_cfg_create(void)
00029 {
00030     return calloc(1, sizeof(detlin_config));
00031 }
00032 
00033 
00034 /*---------------------------------------------------------------------------
00035    Function :   detlin_cfg_destroy()
00036    In       :   detlin_config to deallocate
00037    Out      :   void
00038    Job      :   deallocate all memory associated with a detlin_config data structure
00039    Notice   :   
00040  ---------------------------------------------------------------------------*/
00041 
00042 void detlin_cfg_destroy(detlin_config * sc)
00043 {
00044 
00045     if (sc==NULL) return ;
00046     /* free(sc->framelist) ; */
00047     /* Free main struct */
00048     free(sc);
00049 
00050     return ;
00051 }
00052 
00053 
00054 
00055 

Generated on Wed Oct 26 13:08:52 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001