version 1.24, 2011/06/22 13:27:05
|
version 1.32, 2011/11/26 10:01:33
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.0.prerelease.3 |
RPL/2 (R) version 4.1.5 |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 38
|
Line 38
|
struct_objet * |
struct_objet * |
parametres_sql(struct_processus *s_etat_processus, struct_objet *s_parametres) |
parametres_sql(struct_processus *s_etat_processus, struct_objet *s_parametres) |
{ |
{ |
|
#if defined(MYSQL_SUPPORT) || defined(POSTGRESQL_SUPPORT) |
struct_liste_chainee *l_element_courant; |
struct_liste_chainee *l_element_courant; |
|
|
struct_objet *s_connecteur; |
struct_objet *s_connecteur; |
|
|
unsigned char *base; |
|
unsigned char *locale; |
unsigned char *locale; |
unsigned char *mot_de_passe; |
|
unsigned char *serveur; |
|
unsigned char *sport; |
|
unsigned char *type_base; |
unsigned char *type_base; |
|
unsigned char *serveur; |
|
unsigned char *base; |
unsigned char *utilisateur; |
unsigned char *utilisateur; |
|
unsigned char *mot_de_passe; |
|
# ifdef POSTGRESQL_SUPPORT |
|
unsigned char *sport; |
|
# endif |
|
|
unsigned int port; |
unsigned int port; |
|
|
Line 348 parametres_sql(struct_processus *s_etat_
|
Line 351 parametres_sql(struct_processus *s_etat_
|
} |
} |
|
|
return(s_connecteur); |
return(s_connecteur); |
|
#else |
|
return(NULL); |
|
#endif |
} |
} |
|
|
// vim: ts=4 |
// vim: ts=4 |