diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-07-20 19:21:51 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-07-20 19:21:51 +0000 |
commit | 11ff79c65649a1c97bf2e6dce30dccc35df9e860 (patch) | |
tree | c5a64f33151b427613695b047de10dca39309f22 | |
parent | 885cd198c0be874147a0e98e106a85abf720a7f1 (diff) | |
download | skalibs-11ff79c65649a1c97bf2e6dce30dccc35df9e860.tar.xz |
Actually call ipc_timed_recv ipc_timed_recv
-rw-r--r-- | src/include/skalibs/unix-timed.h | 4 | ||||
-rw-r--r-- | src/libunixonacid/ipc_timed_recv.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/skalibs/unix-timed.h b/src/include/skalibs/unix-timed.h index 68c6361..17bda9d 100644 --- a/src/include/skalibs/unix-timed.h +++ b/src/include/skalibs/unix-timed.h @@ -35,7 +35,7 @@ extern int netstring_timed_get (buffer *, stralloc *, tain_t const *, tain_t *) extern int ipc_timed_send (int, char const *, unsigned int, tain_t const *, tain_t *) ; #define ipc_timed_send_g(fd, s, len, deadline) ipc_timed_send(fd, s, len, (deadline), &STAMP) -extern int ipc_timed_get (int, char *, unsigned int, char *, tain_t const *, tain_t *) ; -#define ipc_timed_get_g(fd, s, len, path, deadline) ipc_timed_get(fd, s, len, path, (deadline), &STAMP) +extern int ipc_timed_recv (int, char *, unsigned int, char *, tain_t const *, tain_t *) ; +#define ipc_timed_recv_g(fd, s, len, path, deadline) ipc_timed_recv(fd, s, len, path, (deadline), &STAMP) #endif diff --git a/src/libunixonacid/ipc_timed_recv.c b/src/libunixonacid/ipc_timed_recv.c index bcb991d..7093c4d 100644 --- a/src/libunixonacid/ipc_timed_recv.c +++ b/src/libunixonacid/ipc_timed_recv.c @@ -23,7 +23,7 @@ static int get (struct blah_s *blah) return sanitize_read(ipc_recv(blah->fd, blah->s, blah->len, blah->path)) ; } -int ipc_timed_get (int fd, char *s, unsigned int len, char *path, tain_t const *deadline, tain_t *stamp) +int ipc_timed_recv (int fd, char *s, unsigned int len, char *path, tain_t const *deadline, tain_t *stamp) { struct blah_s blah = { .fd = fd, .s = s, .len = len, .path = path } ; return timed_get(&blah, (initfunc_t_ref)&getfd, (initfunc_t_ref)&get, deadline, stamp) ; |