framelist.h

00001 
00002 /*---------------------------------------------------------------------------
00003    
00004    File name    :   framelist.h
00005    Author       :   N. Devillard
00006    Created on   :   July 2000
00007    Description  :   Framelist parsing routines
00008 
00009  *--------------------------------------------------------------------------*/
00010 
00011 /*
00012 
00013     $Id: framelist.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00014     $Author: amodigli $
00015     $Date: 2003/09/03 12:50:47 $
00016     $Revision: 1.1 $
00017 
00018 */
00019 
00020 #ifndef _FRAMELIST_H_
00021 #define _FRAMELIST_H_
00022 
00023 /*---------------------------------------------------------------------------
00024                                 Includes
00025  ---------------------------------------------------------------------------*/
00026 
00027 #include <stdio.h>
00028 #include <stdlib.h>
00029 #include <string.h>
00030 
00031 #include "memory.h"
00032 #include "charmatrix.h"
00033 
00034 
00035 /*-------------------------------------------------------------------------*/
00045 /*--------------------------------------------------------------------------*/
00046 
00047 
00048 typedef struct _framelist_ {
00049     int         n ;
00050     char    *   filename ;
00051     char    **  name ;
00052     char    **  type ;
00053 } framelist ;
00054 
00055 
00056 /*---------------------------------------------------------------------------
00057                             Function prototypes
00058  ---------------------------------------------------------------------------*/
00059 
00060 /*-------------------------------------------------------------------------*/
00081 /*--------------------------------------------------------------------------*/
00082 
00083 framelist * framelist_load(char * filename);
00084 
00085 
00086 /*-------------------------------------------------------------------------*/
00099 /*--------------------------------------------------------------------------*/
00100 
00101 void framelist_dump(framelist * dumped, FILE * out);
00102 
00103 
00104 /*-------------------------------------------------------------------------*/
00116 /*--------------------------------------------------------------------------*/
00117  
00118 framelist * framelist_new(int n);
00119 
00120 /*-------------------------------------------------------------------------*/
00130 /*--------------------------------------------------------------------------*/
00131 
00132 void framelist_del(framelist * f);
00133 
00134 
00135 /*-------------------------------------------------------------------------*/
00147 /*--------------------------------------------------------------------------*/
00148  
00149 framelist * framelist_copy(framelist * f);
00150 
00151 
00152 /*-------------------------------------------------------------------------*/
00170 /*--------------------------------------------------------------------------*/
00171  
00172 framelist * framelist_select_tokenget(
00173     framelist   *   f,
00174     char        *   token,
00175     char        *   (*token_get)(char*)
00176 ) ;
00177 
00178 
00179 #endif

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