"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "mpdist-3.7.1/mimep/ertf2latex/comliste.h" of archive mpdist-3.7.1.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 
    2 /*
    3  * $Header: /cvsroot/mpdist/mpdist/mimep/ertf2latex/comliste.h,v 1.1.1.1 2002/04/12 16:47:26 richbastard Exp $
    4  *
    5  * Copyright (c) Mikael Cam. All rights reserved.
    6  *
    7  * This software is free software; you can redistribute it and/or modify it
    8  * under the terms of the GNU Library General Public License as published by
    9  * the Free Software Foundation; either version 2 of the License, or (at your
   10  * option) any later version.
   11  *
   12  * This software is distributed in the hope that it will be useful, but WITHOUT
   13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
   14  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
   15  * License for more details.
   16  *
   17  * You should have received a copy of the GNU Library General Public License
   18  * along with this software; if not, write to the Free Software Foundation,
   19  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   20  */
   21 
   22 /* Fichier d'inclusion  : comliste.h   Auteur               : Mikael CAM
   23  * Cadre                : Projet Xshow  Membres de l'equipe  : Messieurs
   24  * FAUCHEUX David, MALIGORNE Christophe,  OLLAGNIER Patrick et CAM Mikael.
   25  * Superviseur          : M. SADOU Salah Groupe d'audit       : Messieurs
   26  * ADAM Michel et FRISON Patrice.  Derniere M.A.J.      : 11/4/95
   27  *
   28  * Pour l'IUT de Vannes - Departement INFORMATIQUE
   29  */
   30 
   31 #ifndef __MIMEP_COMLISTE_H__
   32 #define __MIMEP_COMLISTE_H__
   33 
   34 #include <stdio.h>
   35 #include <string.h>
   36 #include <stdlib.h>
   37 #include "../../common/option.h"
   38 
   39 #define  Command  char*
   40 
   41 /* Structures de la liste des parametres des fenetres visibles sur l'ecran
   42  * source
   43  */
   44 
   45 typedef struct format_com {
   46     Command c_name;
   47     struct format_com *suivant;
   48     struct format_com *precedent;
   49 } format_com;
   50 
   51 typedef struct Liste_commands {
   52     format_com *tete;
   53     format_com *queue;
   54     format_com *courant;
   55 } Liste_com;
   56 
   57 /* interfaces des fonctions de gestion de la liste des parametres des
   58  * fenetres visibles sur l'ecran source
   59  */
   60 
   61 void       AjouteListe    (Liste_com *, format_com *);
   62 void       CreeListe      (Liste_com *);
   63 format_com *courant       (Liste_com *);
   64 void       OteEltListe    (Liste_com *, format_com *);
   65 int        FinListe       (Liste_com *);
   66 format_com *position_tete (Liste_com *);
   67 void       remplie_comm   (format_com *, Command, Liste_com *);
   68 format_com *Trouve        (Command, Liste_com *);
   69 
   70 #endif /* __MIMEP_COMLISTE_H__ */