blob: 68eef027a2e8a0966564af81809fd6c3a6a1e793 [file] [log] [blame]
Mark Salyzyn777ea342016-09-21 09:24:13 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Tom Cherrye3360182019-01-15 17:47:48 -080017#pragma once
Mark Salyzyn777ea342016-09-21 09:24:13 -070018
Tom Cherryb43691a2020-01-14 09:55:28 -080019#include <sys/cdefs.h>
Mark Salyzyn777ea342016-09-21 09:24:13 -070020#include <unistd.h>
21
Tom Cherryf302b812019-11-18 15:13:47 -080022#include "log/log_read.h"
Mark Salyzyn777ea342016-09-21 09:24:13 -070023
24__BEGIN_DECLS
25
Tom Cherryf302b812019-11-18 15:13:47 -080026int LogdRead(struct logger_list* logger_list, struct log_msg* log_msg);
27void LogdClose(struct logger_list* logger_list);
28
Tom Cherryf459c582019-11-14 08:56:39 -080029ssize_t SendLogdControlMessage(char* buf, size_t buf_size);
Mark Salyzyn777ea342016-09-21 09:24:13 -070030
31__END_DECLS