mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-02-13 00:49:18 +01:00
Minor
This commit is contained in:
parent
05cefde585
commit
f85adf9760
@ -356,7 +356,7 @@ static enum Status end(Parser *ctx)
|
||||
return STAT_OK;
|
||||
}
|
||||
|
||||
static int commands(Parser *ctx)
|
||||
static enum Status commands(Parser *ctx)
|
||||
{
|
||||
newlines(ctx);
|
||||
|
||||
|
@ -164,7 +164,7 @@ exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline int run_server_script(char *script, size_t script_len, char *arg)
|
||||
static inline RESULT run_server_script(char *script, size_t script_len, char *arg)
|
||||
{
|
||||
return run_script(script, script_len, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef SERVER_H
|
||||
#define SERVER_H
|
||||
|
||||
#include "result.h"
|
||||
|
||||
RESULT server_listen(const char *id_s);
|
||||
RESULT server_set_fifo_var(const char *id_s);
|
||||
RESULT server_clear(const char *id_s);
|
||||
|
Loading…
Reference in New Issue
Block a user