summaryrefslogtreecommitdiff
path: root/src/libskabus/skabus_pub_start.c
blob: 3cb3177d38970a12bff74fd5903168616d928015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ISC license. */

#include <skalibs/skaclient.h>

#include <skabus/pub.h>

int skabus_pub_start (skabus_pub_t *a, char const *path, tain const *deadline, tain *stamp)
{
  return skaclient_start_b(
    &a->connection,
    &a->buffers,
    path,
    SKACLIENT_OPTION_ASYNC_ACCEPT_FDS,
    SKABUS_PUB_BANNER1,
    SKABUS_PUB_BANNER1_LEN,
    SKABUS_PUB_BANNER2,
    SKABUS_PUB_BANNER2_LEN,
    deadline,
    stamp) ;
}