Main Page | Namespace List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

statique.h

Go to the documentation of this file.
00001 /*  Implémentation Linux de la bibliotheque XADLL de Sidena
00002  *  Copyright (C) 2005 ENSTAR
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00017  *
00018  *  You can contact us:
00019  *    Association ENSTAR
00020  *    Ecole Nationale Superieure de Techniques Avancees
00021  *    32 boulevard Victor
00022  *    75739 Paris Cedex 15
00023  *    FRANCE
00024  *
00025  *    enstar@ensta.fr
00026  */
00027 
00028 /** @file    statique.h
00029  *  @brief   Declaration des buffers statiques de communication
00030  *  @author  Francois Fevotte <francois.fevotte@ensta.org>
00031  *  $Revision: 7 $
00032  *  $Date: 2006-02-13 14:34:33 +0100 (Mon, 13 Feb 2006) $
00033  */
00034 
00035 /* $Id: statique.h 7 2006-02-13 13:34:33Z francois $ */
00036 
00037 /* Protection contre les inclusions multiples */
00038 #ifndef STATIQUE_H
00039 #define STATIQUE_H
00040 
00041 /* Gestion des mots clés 'extern' : seul le fichier xalib.c définira réellement les buffers */
00042 #ifdef XALIB_C
00043 #define EXTERN
00044 #else
00045 #define EXTERN extern
00046 #endif
00047 
00048 /** Le type des buffers */
00049 typedef unsigned char table255[255];
00050 
00051 EXTERN table255 Rec_buffer;       /** Le buffer de réception */
00052 EXTERN table255 Out_buffer;       /** Le buffer d'envoi */
00053 
00054 EXTERN int XA_lastcar_out;        /** Position du dernier caractère du buffer d'envoi */
00055 EXTERN int tabss[7];              /** Les positions des sous-messages */
00056 EXTERN int XA_lastss;
00057 EXTERN int XA_ptrget;
00058 EXTERN int XA_lastcar_in;
00059 
00060 #undef EXTERN
00061 #endif

Project hosted on SourceForge.net
Documentation generated on Mon Apr 2 14:52:56 2007 for libXA by doxygen 1.4.4