Skip to content

Commit

Permalink
fix: rebase shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 13, 2024
1 parent 803439a commit 314957d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions include/zenoh-pico/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#define INCLUDE_ZENOH_PICO_CONFIG_H

/*--- CMake generated config; pass values to CMake to change the following tokens ---*/
#define Z_FRAG_MAX_SIZE 4096
#define Z_BATCH_UNICAST_SIZE 2048
#define Z_BATCH_MULTICAST_SIZE 2048
#define Z_FRAG_MAX_SIZE 300000
#define Z_BATCH_UNICAST_SIZE 65535
#define Z_BATCH_MULTICAST_SIZE 8096
#define Z_CONFIG_SOCKET_TIMEOUT 100

/* #undef Z_FEATURE_UNSTABLE_API */
Expand All @@ -43,9 +43,9 @@
#define Z_FEATURE_ENCODING_VALUES 1
#define Z_FEATURE_TCP_NODELAY 1
#define Z_FEATURE_LOCAL_SUBSCRIBER 0
#define Z_FEATURE_PUBLISHER_SESSION_CHECK 1
#define Z_FEATURE_PUBLISHER_SESSION_CHECK 0
#define Z_FEATURE_BATCHING 1
#define Z_FEATURE_RX_CACHE 0
#define Z_FEATURE_RX_CACHE 1
// End of CMake generation

/*------------------ Runtime configuration properties ------------------*/
Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/session/queryable.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct _z_session_rc_t _z_session_rc_t;

// Queryable infos
typedef struct {
_z_query_handler_t callback;
_z_closure_query_callback_t callback;
void *arg;
} _z_queryable_infos_t;

Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/session/session.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ typedef struct _z_query_t _z_query_t;
/**
* The callback signature of the functions handling query messages.
*/
typedef void (*_z_closure_query_callback_t)(_z_query_rc_t *query, void *arg);
typedef void (*_z_closure_query_callback_t)(_z_query_t *query, void *arg);

typedef struct {
_z_keyexpr_t _key;
Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/session/subscription.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct _z_session_t _z_session_t;

// Subscription infos
typedef struct {
_z_sample_handler_t callback;
_z_closure_sample_callback_t callback;
void *arg;
} _z_subscription_infos_t;

Expand Down
2 changes: 1 addition & 1 deletion include/zenoh-pico/transport/multicast/transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ static inline void _z_multicast_peer_mutex_unlock(_z_transport_multicast_t *ztm)
#ifdef __cplusplus
}
#endif
#endif /* ZENOH_PICO_MULTICAST_TRANSPORT_H */
#endif /* ZENOH_PICO_MULTICAST_TRANSPORT_H */
1 change: 1 addition & 0 deletions src/transport/multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "zenoh-pico/transport/unicast/rx.h"
#include "zenoh-pico/transport/utils.h"
#include "zenoh-pico/utils/logging.h"
#include "zenoh-pico/utils/uuid.h"

#if Z_FEATURE_MULTICAST_TRANSPORT == 1
void _zp_multicast_fetch_zid(const _z_transport_t *zt, _z_closure_zid_t *callback) {
Expand Down
1 change: 1 addition & 0 deletions src/transport/unicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "zenoh-pico/transport/unicast/rx.h"
#include "zenoh-pico/transport/utils.h"
#include "zenoh-pico/utils/logging.h"
#include "zenoh-pico/utils/uuid.h"

#if Z_FEATURE_UNICAST_TRANSPORT == 1
void _zp_unicast_fetch_zid(const _z_transport_t *zt, _z_closure_zid_t *callback) {
Expand Down
2 changes: 1 addition & 1 deletion zenohpico.pc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ prefix=/usr/local
Name: zenohpico
Description:
URL:
Version: 1.0.20241018dev
Version: 1.0.20241113dev
Cflags: -I${prefix}/include
Libs: -L${prefix}/lib -lzenohpico

0 comments on commit 314957d

Please sign in to comment.