this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Create stubs for libDiagnosticMessagesClient.dylib

+80
+2
src/CMakeLists.txt
··· 171 171 ${CMAKE_CURRENT_SOURCE_DIR}/external/dtrace/head 172 172 ${CMAKE_CURRENT_SOURCE_DIR}/ScriptingBridge/include 173 173 ${CMAKE_CURRENT_SOURCE_DIR}/lkm/include 174 + ${CMAKE_CURRENT_SOURCE_DIR}/libDiagnosticMessagesClient/include 174 175 ) 175 176 176 177 # It must be done in this scope ··· 331 332 add_subdirectory(external/Heimdal) 332 333 add_subdirectory(PlistBuddy) 333 334 add_subdirectory(ScriptingBridge) 335 + add_subdirectory(libDiagnosticMessagesClient) 334 336 335 337 # /Applications 336 338 #add_subdirectory(external/TextEdit)
+10
src/libDiagnosticMessagesClient/CMakeLists.txt
··· 1 + project(libDiagnosticMessagesClient) 2 + 3 + set(DYLIB_INSTALL_NAME "/usr/lib/libDiagnosticMessagesClient.dylib") 4 + add_darling_library(DiagnosticMessagesClient SHARED 5 + src/functions.c 6 + ) 7 + target_link_libraries(DiagnosticMessagesClient system) 8 + make_fat(DiagnosticMessagesClient) 9 + 10 + install(TARGETS DiagnosticMessagesClient DESTINATION libexec/darling/usr/lib)
+31
src/libDiagnosticMessagesClient/include/DiagnosticMessagesClient.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + void* msgtracer_domain_free(void); 21 + void* msgtracer_domain_new(void); 22 + void* msgtracer_log(void); 23 + void* msgtracer_log_with_keys(void); 24 + void* msgtracer_log_with_keys_skip_nulls(void); 25 + void* msgtracer_msg_free(void); 26 + void* msgtracer_msg_new(void); 27 + void* msgtracer_set(void); 28 + void* msgtracer_uuid_create(void); 29 + void* msgtracer_vlog(void); 30 + void* msgtracer_vlog_with_keys(void); 31 + void* msgtracer_vlog_with_keys_skip_nulls(void);
+37
src/libDiagnosticMessagesClient/src/functions.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <stdlib.h> 22 + static int verbose = 0; 23 + __attribute__((constructor)) static void initme(void) { 24 + verbose = getenv("STUB_VERBOSE") != NULL; 25 + } 26 + void* msgtracer_domain_free(void) { if (verbose) puts("STUB: msgtracer_domain_free called"); return NULL; } 27 + void* msgtracer_domain_new(void) { if (verbose) puts("STUB: msgtracer_domain_new called"); return NULL; } 28 + void* msgtracer_log(void) { if (verbose) puts("STUB: msgtracer_log called"); return NULL; } 29 + void* msgtracer_log_with_keys(void) { if (verbose) puts("STUB: msgtracer_log_with_keys called"); return NULL; } 30 + void* msgtracer_log_with_keys_skip_nulls(void) { if (verbose) puts("STUB: msgtracer_log_with_keys_skip_nulls called"); return NULL; } 31 + void* msgtracer_msg_free(void) { if (verbose) puts("STUB: msgtracer_msg_free called"); return NULL; } 32 + void* msgtracer_msg_new(void) { if (verbose) puts("STUB: msgtracer_msg_new called"); return NULL; } 33 + void* msgtracer_set(void) { if (verbose) puts("STUB: msgtracer_set called"); return NULL; } 34 + void* msgtracer_uuid_create(void) { if (verbose) puts("STUB: msgtracer_uuid_create called"); return NULL; } 35 + void* msgtracer_vlog(void) { if (verbose) puts("STUB: msgtracer_vlog called"); return NULL; } 36 + void* msgtracer_vlog_with_keys(void) { if (verbose) puts("STUB: msgtracer_vlog_with_keys called"); return NULL; } 37 + void* msgtracer_vlog_with_keys_skip_nulls(void) { if (verbose) puts("STUB: msgtracer_vlog_with_keys_skip_nulls called"); return NULL; }