diff -Nru libsearpc-3.2.0-7-g50ff08b/debian/changelog libsearpc-3.2.0-8+really3.2+git20220425.54145b0/debian/changelog --- libsearpc-3.2.0-7-g50ff08b/debian/changelog 2020-11-11 09:53:18.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/debian/changelog 2022-05-03 20:08:33.000000000 +0000 @@ -1,3 +1,9 @@ +libsearpc (3.2.0-8+really3.2+git20220425.54145b0-1) unstable; urgency=medium + + * New upstream version 3.2.0-8+really3.2+git20220425.54145b0 + + -- Moritz Schlarb Tue, 03 May 2022 22:08:33 +0200 + libsearpc (3.2.0-7-g50ff08b-1) unstable; urgency=medium * New upstream version 3.2.0-7-g50ff08b (v.3.2-latest) diff -Nru libsearpc-3.2.0-7-g50ff08b/lib/searpc-client.h libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-client.h --- libsearpc-3.2.0-7-g50ff08b/lib/searpc-client.h 2020-06-18 03:23:11.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-client.h 2022-04-25 03:58:24.000000000 +0000 @@ -1,16 +1,20 @@ #ifndef SEARPC_CLIENT_H #define SEARPC_CLIENT_H +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + #ifdef LIBSEARPC_EXPORTS #define LIBSEARPC_API __declspec(dllexport) #else #define LIBSEARPC_API #endif -#include -#include -#include - #ifndef DFT_DOMAIN #define DFT_DOMAIN g_quark_from_string(G_LOG_DOMAIN) #endif @@ -137,5 +141,9 @@ #define TRANSPORT_ERROR "Transport Error" #define TRANSPORT_ERROR_CODE 500 +#ifdef __cplusplus +} +#endif + #endif diff -Nru libsearpc-3.2.0-7-g50ff08b/lib/searpc-named-pipe-transport.h libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-named-pipe-transport.h --- libsearpc-3.2.0-7-g50ff08b/lib/searpc-named-pipe-transport.h 2020-06-18 03:23:11.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-named-pipe-transport.h 2022-04-25 03:58:24.000000000 +0000 @@ -1,12 +1,6 @@ #ifndef SEARPC_NAMED_PIPE_TRANSPORT_H #define SEARPC_NAMED_PIPE_TRANSPORT_H -#ifdef LIBSEARPC_EXPORTS -#define LIBSEARPC_API __declspec(dllexport) -#else -#define LIBSEARPC_API -#endif - #include #include #include @@ -16,6 +10,16 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef LIBSEARPC_EXPORTS +#define LIBSEARPC_API __declspec(dllexport) +#else +#define LIBSEARPC_API +#endif + // Implementatin of a searpc transport based on named pipe. It uses unix domain // sockets on linux/osx, and named pipes on windows. // @@ -72,4 +76,8 @@ LIBSEARPC_API void searpc_free_client_with_pipe_transport (SearpcClient *client); +#ifdef __cplusplus +} +#endif + #endif // SEARPC_NAMED_PIPE_TRANSPORT_H diff -Nru libsearpc-3.2.0-7-g50ff08b/lib/searpc-server.c libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-server.c --- libsearpc-3.2.0-7-g50ff08b/lib/searpc-server.c 2020-06-18 03:23:11.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-server.c 2022-04-25 03:58:24.000000000 +0000 @@ -318,7 +318,7 @@ if (intv_in_msec < slow_threshold) return; - strftime(time_buf, 64, "%Y/%m/%d:%H:%M:%S", localtime(&start->tv_sec)); + strftime(time_buf, 64, "%Y/%m/%d %H:%M:%S", localtime(&start->tv_sec)); pthread_mutex_lock (&slow_log_lock); diff -Nru libsearpc-3.2.0-7-g50ff08b/lib/searpc-server.h libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-server.h --- libsearpc-3.2.0-7-g50ff08b/lib/searpc-server.h 2020-06-18 03:23:11.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/lib/searpc-server.h 2022-04-25 03:58:24.000000000 +0000 @@ -1,16 +1,20 @@ #ifndef SEARPC_SERVER_H #define SEARPC_SERVER_H +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + #ifdef LIBSEARPC_EXPORTS #define LIBSEARPC_API __declspec(dllexport) #else #define LIBSEARPC_API #endif -#include -#include -#include - #ifndef DFT_DOMAIN #define DFT_DOMAIN g_quark_from_string(G_LOG_DOMAIN) #endif @@ -134,4 +138,8 @@ LIBSEARPC_API char* searpc_compute_signature (const gchar *ret_type, int pnum, ...); +#ifdef __cplusplus +} +#endif + #endif diff -Nru libsearpc-3.2.0-7-g50ff08b/libsearpc.vcxproj libsearpc-3.2.0-8+really3.2+git20220425.54145b0/libsearpc.vcxproj --- libsearpc-3.2.0-7-g50ff08b/libsearpc.vcxproj 2020-06-18 03:23:11.000000000 +0000 +++ libsearpc-3.2.0-8+really3.2+git20220425.54145b0/libsearpc.vcxproj 2022-04-25 03:58:24.000000000 +0000 @@ -72,6 +72,9 @@ $(ProjectDir)$(Platform)\$(Configuration)\ + + $(ProjectDir)$(Platform)\$(Configuration)\ + WIN32;_DEBUG;_WINDOWS;LIBSEARPC_EXPORTS;%(PreprocessorDefinitions)