mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
some entry points in client
This commit is contained in:
parent
708ce3f700
commit
4381ca1ec2
@ -152,6 +152,11 @@ handle_internal_command(char *cmd)
|
||||
static void
|
||||
submit_server_command(char *cmd)
|
||||
{
|
||||
/*
|
||||
if (cbor_mode)
|
||||
TODO: make the server command actually cbor;
|
||||
*/
|
||||
|
||||
busy = 1;
|
||||
num_lines = 2;
|
||||
fprintf(stderr, "Socket: %s \n", server_path_yi);
|
||||
@ -337,6 +342,9 @@ server_read(void)
|
||||
DIE("Server read error");
|
||||
}
|
||||
|
||||
if ((init && (*server_read_buf == 0x87)) || cbor_mode)
|
||||
return server_got_binary(c);
|
||||
|
||||
start = server_read_buf;
|
||||
p = server_read_pos;
|
||||
server_read_pos += c;
|
||||
|
Loading…
Reference in New Issue
Block a user