| 1 | /* SPDX-License-Identifier: BSD-2-Clause */cxx . . $ `<file>/src/log_json.h`/ |
| 2 | /* |
| 3 | * Copyright (C) 2025 Linutronix GmbH |
| 4 | */ |
| 5 | |
| 6 | #ifndef _LOG_JSON_H_ |
| 7 | #define _LOG_JSON_H_cxx . . $ `src/log_json.h:7:9`! |
| 8 | |
| 9 | #include <netdb.h> |
| 10 | #include <sys/socket.h> |
| 11 | #include <sys/types.h> |
| 12 | |
| 13 | struct log_json_thread_contextcxx . . $ log_json_thread_context# { |
| 14 | struct sockaddr_storagecxx . . $ sockaddr_storage# destcxx . . $ log_json_thread_context#dest.; |
| 15 | pthread_tcxx . . $ pthread_t# pidcxx . . $ log_json_thread_context#pid.; |
| 16 | int socketcxx . . $ log_json_thread_context#socket.; |
| 17 | volatile int stopcxx . . $ log_json_thread_context#stop.; |
| 18 | }; |
| 19 | |
| 20 | struct log_json_thread_contextcxx . . $ log_json_thread_context# *log_json_thread_createcxx . . $ log_json_thread_create(28a00b00e83b43e2).(void); |
| 21 | void log_json_thread_stopcxx . . $ log_json_thread_stop(804bb534ff7495b0).(struct log_json_thread_contextcxx . . $ log_json_thread_context# *ctx); |
| 22 | void log_json_thread_freecxx . . $ log_json_thread_free(804bb534ff7495b0).(struct log_json_thread_contextcxx . . $ log_json_thread_context# *ctx); |
| 23 | void log_json_thread_wait_for_finishcxx . . $ log_json_thread_wait_for_finish(804bb534ff7495b0).(struct log_json_thread_contextcxx . . $ log_json_thread_context# *ctx); |
| 24 | |
| 25 | #endif /* _LOG_JSON_H_ */ |