Lines Matching defs:path
57 static int NgDeliverMsg(int cs, const char *path,
66 NgSendMsg(int cs, const char *path,
83 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0)
93 NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...)
133 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY,
151 path, binary, binary->data, binary->header.arglen) < 0) {
165 NgSendReplyMsg(int cs, const char *path,
175 return (NgDeliverMsg(cs, path, &rep, args, arglen));
183 NgDeliverMsg(int cs, const char *path,
215 strlcpy(sg->sg_data, path, NG_PATHSIZ);
267 NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path)
282 if (path != NULL)
283 strlcpy(path, sg->sg_data, NG_PATHSIZ);
305 NgAllocRecvMsg(int cs, struct ng_mesg **rep, char *path)
314 if ((len = NgRecvMsg(cs, *rep, len, path)) < 0)
323 NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path)
337 if (NgRecvMsg(cs, msg, bufSize, path) < 0)
342 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE,
368 NgAllocRecvAsciiMsg(int cs, struct ng_mesg **reply, char *path)
377 if ((len = NgRecvAsciiMsg(cs, *reply, len, path)) < 0)