Compare commits

..

5 Commits

Author SHA1 Message Date
40f38d9391 - Add LibLog 1.1 API support. 2024-08-09 19:10:50 +02:00
949ebe54fe - Add Open_Flag args to ND_DataStruct() API calls. 2024-06-12 12:42:24 +02:00
dbbca69430 - Extend data struct handler tab. 2024-05-27 23:12:23 +02:00
842da177f5 - Add LibNode 3 API support:
- Update ND_DataStruct_Open() calls,
    - Use SMG_DataStruct_Handlers.
2024-05-25 13:03:36 +02:00
b3f6b67d9c - Update RelaseNote with new version 3! 2024-05-21 11:13:06 +02:00
4 changed files with 269 additions and 218 deletions

View File

@ -1,11 +1,25 @@
------------------------------------------------------------------------------------------------------------------------------------
LibShMem V 3.0.0 - A. GIBERT - 2024/05/xx
------------------------------------------------------------------------------------------------------------------------------------
- All:
- Working on new API...
- LibShMem:
- Add LibNode 3 API support,
- Add LibLog 1.1 API support.
------------------------------------------------------------------------------------------------------------------------------------
LibShMem V 2.1.0 - A. GIBERT - 2024/05/21
------------------------------------------------------------------------------------------------------------------------------------
All: - This new LibShMem branch (2.1.x) support the new LibNode branch (2.3.x) & LibLog (1.0.x),
All:
- This new LibShMem branch (2.1.x) support the new LibNode branch (2.3.x) & LibLog (1.0.x),
- Switch to LGPL/GPL V3 & FGD V1.3 licenses,
- Last 2.x release branch, now working on LibShMem 3!
LibShMem: - Major code cleanup,
LibShMem:
- Major code cleanup,
- Start French to English translation.

File diff suppressed because it is too large Load Diff

View File

@ -172,13 +172,45 @@ typedef union semun
unsigned short int * array;
} semun;
/*------------------------------------------------------------------------------*/
/* LibShMem data struct handlers */
/*------------------------------------------------------------------------------*/
NDT_Handler SMG_DataStruct_Handlers[ NDD_HANDLER_NB] =
{
{ "", /* Manager function name */
NULL}, /* Manager function pointer */
{ "", /* Init function name */
NULL}, /* Init function pointer */
{ "SM_Base_Alloc", /* Alloc function name */
NULL}, /* Alloc function pointer */
{ "SM_Base_Free", /* Free function name */
NULL}, /* Free function pointer */
{ "", /* Open function name */
NULL}, /* Open function pointer */
{ "", /* Close function name */
NULL}, /* Close function pointer */
{ "", /* Info function name */
NULL}, /* Info function pointer */
{ "", /* Lock function name */
NULL}, /* Lock function pointer */
{ "", /* Unlock function name */
NULL} /* Unlock function pointer */
};
/*------------------------------------------------------------------------------*/
/* */
/*------------------------------------------------------------------------------*/
#define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR_0( "LibShMem library is not open"); return( SMS_ERRAPI); }
#define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap name is undefined"); return( SMS_ERRAPI); }
#define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap is undefined"); return( SMS_ERRAPI); }
#define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR( "LibShMem library is not open"); return( SMS_ERRAPI); }
#define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap name is undefined"); return( SMS_ERRAPI); }
#define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap is undefined"); return( SMS_ERRAPI); }

View File

@ -252,7 +252,7 @@ int main( int argc, char **argv)
return( -1);
}
LG_LOG_INFO_0( "Start SMAdmin");
LG_LOG_INFO( "Start SMAdmin");
/* Lancement de commande d'administration */
@ -560,7 +560,7 @@ int main( int argc, char **argv)
}
LG_LOG_INFO_0( "End SMAdmin");
LG_LOG_INFO( "End SMAdmin");
if( ( lg_status = LG_Library_Close( true)) != LGS_OK)
{