00001 /* 00002 00003 An example of license ... 00004 00005 This source file is part of Scol 00006 For the latest info, see http://www.scolring.org 00007 00008 Copyright (c) 2010 Iri <iri@irizone.net> 00009 00010 This source is under the terms of the Scol License. See the COPYING included file 00011 for more informations. 00012 00013 This program is distributed in the hope that it will be useful, but WITHOUT 00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00015 FOR A PARTICULAR PURPOSE. 00016 00017 For others informations, please contact us from http://www.scolring.org/ 00018 00019 */ 00020 00021 #ifndef _EXAMPLE_MAIN_H_ 00022 #define _EXAMPLE_MAIN_H_ 00023 00024 #include <stdlib.h> 00025 #include <math.h> 00026 #include <string.h> 00027 00028 00029 /* On inclut le header de définition des structures partagées avec le noyau (impératif) */ 00030 #if defined _WIN32 || defined __WIN32__ 00031 #include "scol_plugin_win.h" 00032 #elif defined linux || defined __linux 00033 #include "scol_plugin_lin.h" 00034 #else 00035 #error no platform supported 00036 #endif 00037 /* On inclut la définition des macros, c'est optionnel mais chaudement recommandé */ 00038 #include "macros.h" 00039 00040 /* Nombre d'éléments de l'API Scol définit dans cette bibliothèque. Ce nombre doit 00041 être rigoureusement exact sous peine de crash ou de non chargement de la bibliothèque. 00042 N'oubliez pas de le mettre à jour à chaque fois que vous ajouter ou supprimer un élément de l'API ! */ 00043 #define EXAMPLE_PKG_NB 6 00044 00045 /*#define bullshit int (__cdecl *)(struct Mmachine *)*/ 00046 00047 #endif 00048