summaryrefslogtreecommitdiff
path: root/src/rpc/skabus-rpcc.h
blob: 9f3557fe3b93e61e4abf083d8b62ff5ffbfad923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ISC license. */

#ifndef SKABUS_RPCC_H
#define SKABUS_RPCC_H

#include <skalibs/strerr2.h>

#define SKABUS_RPCC_BUFSIZE 4095
#define SKABUS_RPCC_MAX 256
#define SKABUS_RPCC_INTERFACES_MAX 64
#define SKABUS_RPCC_QUERIES_MAX 1024

#define X() strerr_dief1x(101, "unexpected error - please submit a bug-report.")
#define dietoomanyinterfaces() strerr_dief1x(100, "too many interface definitions")
#define dieemptyifname() strerr_dief1x(100, "an interface name may not be empty")
#define dieemptyifprog() strerr_dief1x(100, "an interface program may not be empty")

#endif