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

#include <skalibs/skaclient.h>

#include <skabus/pub.h>

int skabus_pub_start_async (skabus_pub_t *a, char const *path, skabus_pub_start_result_t *data)
{
  return skaclient_start_async_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,
    &data->skaclient_cbdata) ;
}