Lines Matching refs:command
286 int process_request(mcp_parser_t *pr, const char *command, size_t cmdlen) { in process_request() argument
290 const char *cm = command; in process_request()
307 const char *s = memchr(command, ' ', pr->endlen); in process_request()
309 cl = s - command; in process_request()
316 pr->request = command; in process_request()
448 pr->command = cmd; in process_request()
455 mcp_request_t *mcp_new_request(lua_State *L, mcp_parser_t *pr, const char *command, size_t cmdlen) { in mcp_new_request() argument
463 memcpy(rq->request, command, cmdlen); in mcp_new_request()
476 void mcp_set_request(mcp_parser_t *pr, mcp_request_t *rq, const char *command, size_t cmdlen) { in mcp_set_request() argument
480 memcpy(rq->request, command, cmdlen); in mcp_set_request()
807 lua_pushinteger(L, rq->pr.command); in mcplib_request_command()