--- rpl/src/rpl.h 2010/03/01 14:48:14 1.10 +++ rpl/src/rpl.h 2010/03/05 11:20:09 1.14 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.11 + RPL/2 (R) version 4.0.12 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -75,6 +75,8 @@ # include "termcap.h" # include "iconv.h" +# include "openssl/evp.h" + # define HAVE_INLINE # define GSL_RANGE_CHECK_OFF # include "gsl/gsl_cdf.h" @@ -484,6 +486,7 @@ void debug_memoire_retrait(void *ptr); # define d_es_nombre_max_descripteurs 2011 # define d_es_interruption_invalide 2012 # define d_es_contexte 2013 +# define d_es_somme_controle 2014 #endif /* @@ -1020,8 +1023,8 @@ typedef struct descripteur_thread struct_objet *argument; - pid_t pid; - volatile pthread_t tid; + pid_t pid; + volatile pthread_t tid; pthread_t thread_pere; @@ -1420,7 +1423,12 @@ typedef struct processus pthread_t thread_fusible; pthread_t thread_surveille_par_fusible; +# ifndef Cygwin stack_t pile_signal; +# else +# define SA_ONSTACK 0 +# define RTLD_LOCAL 0 +# endif /* Contextes */ @@ -1696,6 +1704,8 @@ typedef struct processus /* Autres */ + char *rpl_home; + gsl_rng *generateur_aleatoire; const gsl_rng_type *type_generateur_aleatoire; @@ -2518,7 +2528,7 @@ complex16 sommation_vecteur_complexe(com */ #ifndef RPLARGS -int rplinit(int argc, char *argv[], unsigned char ***resultats); +int rplinit(int argc, char *argv[], unsigned char ***resultats, char *rpl_home); #endif /* @@ -2621,6 +2631,8 @@ logical1 analyse_syntaxique(struct_proce logical1 caracteristiques_fichier(struct_processus *s_etat_processus, unsigned char *nom, logical1 *existence, logical1 *ouverture, unsigned long *unite); +logical1 controle(struct_processus *s_etat_processus, unsigned char *fichier, + unsigned char *type, unsigned char *somme_candidate); logical1 creation_variable(struct_processus *s_etat_processus, struct_variable *s_variable, unsigned char autorisation_creation_variable_statique,