diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 18:01:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 18:01:01 +0000 |
commit | 304b35f770b1d4599e6a76c97cb3e02b19e98445 (patch) | |
tree | 045c8e83247a9eb27aa4f45d43abba5539eddce6 /src/rpc/skabus_rpcd_client.c | |
parent | 6b13dbadb14e21074e9a54d284b4757337c7c009 (diff) | |
download | skabus-304b35f770b1d4599e6a76c97cb3e02b19e98445.tar.xz |
Adapt to skalibs-2.11.0.0, the real one
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/rpc/skabus_rpcd_client.c')
-rw-r--r-- | src/rpc/skabus_rpcd_client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rpc/skabus_rpcd_client.c b/src/rpc/skabus_rpcd_client.c index deac459..198f0da 100644 --- a/src/rpc/skabus_rpcd_client.c +++ b/src/rpc/skabus_rpcd_client.c @@ -62,7 +62,7 @@ void client_remove (uint32_t i, uint32_t prev) void client_setdeadline (client_t *c) { - tain_t blah ; + tain blah ; tain_half(&blah, &tain_infinite_relative) ; tain_add_g(&blah, &blah) ; if (tain_less(&blah, &c->deadline)) tain_add_g(&c->deadline, &answertto) ; @@ -87,13 +87,13 @@ void client_add (uint32_t *d, regex_t const *idstr_re, regex_t const *interfaces *d = cc ; } -void client_nextdeadline (uint32_t i, tain_t *deadline) +void client_nextdeadline (uint32_t i, tain *deadline) { client_t *c = CLIENT(i) ; if (tain_less(&c->deadline, deadline)) *deadline = c->deadline ; } -int client_prepare_iopause (uint32_t cc, tain_t *deadline, iopause_fd *x, uint32_t *j, int notlameduck) +int client_prepare_iopause (uint32_t cc, tain *deadline, iopause_fd *x, uint32_t *j, int notlameduck) { client_t *c = CLIENT(cc) ; int inflight = 0 ; @@ -158,7 +158,7 @@ int client_read (uint32_t cc, iopause_fd const *x) { if (unixmessage_sender_fd(&c->async.out) < 0) { - unixmessage_t m ; + unixmessage m ; int r = unixmessage_receive(&c->sync.in, &m) ; if (r < 0) return -1 ; if (r) |