Line data Source code
1 : /* SPDX-License-Identifier: GPL-2.0+ */ 2 : #pragma once 3 : 4 : #include <stdio.h> 5 : 6 : #include "build.h" 7 : #include "macro.h" 8 : 9 : int info_main(int argc, char *argv[], void *userdata); 10 : int trigger_main(int argc, char *argv[], void *userdata); 11 : int settle_main(int argc, char *argv[], void *userdata); 12 : int control_main(int argc, char *argv[], void *userdata); 13 : int monitor_main(int argc, char *argv[], void *userdata); 14 : int hwdb_main(int argc, char *argv[], void *userdata); 15 : int test_main(int argc, char *argv[], void *userdata); 16 : int builtin_main(int argc, char *argv[], void *userdata); 17 : 18 0 : static inline int print_version(void) { 19 : /* Dracut relies on the version being a single integer */ 20 0 : puts(STRINGIFY(PROJECT_VERSION)); 21 0 : return 0; 22 : }