dlogutil_SOURCES = \
src/logutil/logutil.c \
- src/logutil/sort_vector.c \
- src/logutil/fd_info.c \
- src/logutil/fdi_pipe.c \
- src/logutil/fdi_logger.c \
+ src/shared/sort_vector.c \
+ src/shared/fd_info.c \
+ src/shared/fdi_pipe.c \
+ src/shared/fdi_logger.c \
src/shared/backend_androidlogger.c \
src/shared/logcommon.c \
src/shared/logprint.c \
src_tests_dynamic_config_CFLAGS = $(check_CFLAGS) -pthread
src_tests_dynamic_config_LDFLAGS = $(AM_LDFLAGS) -lpthread -Wl,--wrap=read,--wrap=syslog_critical_failure,--wrap=inotify_init1,--wrap=inotify_add_watch,--wrap=log_config_read_file,--wrap=asprintf,--wrap=pthread_mutex_trylock
-src_tests_sort_vector_SOURCES = src/tests/sort_vector.c src/logutil/sort_vector.c
+src_tests_sort_vector_SOURCES = src/tests/sort_vector.c src/shared/sort_vector.c
src_tests_sort_vector_CFLAGS = $(check_CFLAGS)
src_tests_sort_vector_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=log_config_get_int,--wrap=log_entry_is_earlier,--wrap=free
-src_tests_fd_info_SOURCES = src/tests/fd_info.c src/logutil/fd_info.c
+src_tests_fd_info_SOURCES = src/tests/fd_info.c src/shared/fd_info.c
src_tests_fd_info_CFLAGS = $(check_CFLAGS)
src_tests_fd_info_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=sort_vector_push,--wrap=malloc,--wrap=free,--wrap=close,--wrap=extract_timestamp,--wrap=log_should_print_line
-src_tests_fdi_logger_SOURCES = src/tests/fdi_logger.c src/logutil/fdi_logger.c src/shared/ptrs_list.c src/shared/logcommon.c
+src_tests_fdi_logger_SOURCES = src/tests/fdi_logger.c src/shared/fdi_logger.c src/shared/ptrs_list.c src/shared/logcommon.c
src_tests_fdi_logger_CFLAGS = $(check_CFLAGS)
src_tests_fdi_logger_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=logger_open_buffer_from_config_get_path,--wrap=log_add_filter_string,--wrap=parse_androidlogger_message,--wrap=copy_recv_timestamp,--wrap=malloc,--wrap=read,--wrap=close,--wrap=ioctl,--wrap=calloc
-src_tests_fdi_pipe_SOURCES = src/tests/fdi_pipe.c src/logutil/fdi_pipe.c src/shared/logconfig.c src/shared/ptrs_list.c src/shared/logprint.c src/shared/parsers.c src/shared/logcommon.c
+src_tests_fdi_pipe_SOURCES = src/tests/fdi_pipe.c src/shared/fdi_pipe.c src/shared/logconfig.c src/shared/ptrs_list.c src/shared/logprint.c src/shared/parsers.c src/shared/logcommon.c
src_tests_fdi_pipe_CFLAGS = $(check_CFLAGS)
src_tests_fdi_pipe_LDFLAGS = $(AM_LDFLAGS) -Wl,--wrap=connect_sock,--wrap=close,--wrap=malloc,--wrap=free,--wrap=send_dlog_request,--wrap=recv_dlog_reply,--wrap=read,--wrap=recv_pipe
#include <queued_entry.h>
#include <log_file.h>
#include <dlog-internal.h>
-#include "../logutil/sort_vector.h"
-#include "../logutil/fd_info.h"
+#include <sort_vector.h>
+#include <fd_info.h>
int process_log(const struct logger_entry *e, struct timespec reference_ts, enum sorting_order stamp_type, write_callback callback, void *userdata, long timeout);
void flush_logs(struct sort_vector *logs, write_callback callback, void *userdata, bool force);