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 b445fbf
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Z_FEATURE_RAWETH_TRANSPORT?=0
# Buffer sizes
FRAG_MAX_SIZE?=300000
BATCH_UNICAST_SIZE?=65535
BATCH_MULTICAST_SIZE?=8096
BATCH_MULTICAST_SIZE?=8192

# zenoh-pico/ directory
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
Expand Down
4 changes: 2 additions & 2 deletions include/zenoh-pico/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 b445fbf

Please sign in to comment.