utils/slog.c
const char* slog_version(int min)
{
    static char verstr[128];

    /* Version short */
    if (min) sprintf(verstr, "%d.%d.%d", 
        SLOGVERSION_MAX, SLOGVERSION_MIN, SLOGBUILD_NUM);

    /* Version long */
    else sprintf(verstr, "%d.%d build %d (%s)", 
        SLOGVERSION_MAX, SLOGVERSION_MIN, SLOGBUILD_NUM, __DATE__);

    return verstr;
}
/* 
 * Get library version. Function returns version and build number of slog 
 * library. Return value is char pointer. Argument min is flag for output 
 * format. If min is 1, function returns version in full  format, if flag 
 * is 0 function returns only version numbers, For examle: 1.3.0
-*/
Get library version. Function returns version and build number of slog
library. Return value is char pointer. Argument min is flag for output
format. If min is 1, function returns version in full  format, if flag
is 0 function returns only version numbers, For examle: 1.3.0
Get library version . Function returns version and build number of slog library . Return value is char pointer . Argument min is flag for output format . If min is 1 function returns version in full format if flag is 0 function returns only version numbers For examle : 1 . 3 . 0
const char* slog_version(int min)
{
    static char verstr[128];
    if (min) sprintf(verstr, "%d.%d.%d", 
        SLOGVERSION_MAX, SLOGVERSION_MIN, SLOGBUILD_NUM);
    else sprintf(verstr, "%d.%d build %d (%s)", 
        SLOGVERSION_MAX, SLOGVERSION_MIN, SLOGBUILD_NUM, __DATE__);
    return verstr;
}
const char * slog_version ( int min ) { static char verstr [ 128 ] ; if ( min ) sprintf ( verstr , " " , SLOGVERSION_MAX , SLOGVERSION_MIN , SLOGBUILD_NUM ) ; else sprintf ( verstr , " " , SLOGVERSION_MAX , SLOGVERSION_MIN , SLOGBUILD_NUM , __DATE__ ) ; return verstr ; }
Get library version.
Get library version .
/* Version short */ /* Version long */