#include <string.h>
#include <unistd.h>
-static ctx_t
+static xid_t
getCtxFromFile(char const *pathname)
{
int fd;
BS;
char buf[len+1];
char *errptr;
- ctx_t res;
+ xid_t res;
if (TEMP_FAILURE_RETRY(read(fd, buf, len+1))!=len)
return VC_NOCTX;
BE;
}
-ctx_t
+xid_t
vc_getVserverCtx(char const *id, vcCfgStyle style)
{
size_t l1 = strlen(id);